Orderly network core.EventEmitter
Orderly SDKs / Modules / @orderly.network/core / EventEmitter
Namespace: EventEmitter
@orderly.network/core.EventEmitter
Table of contents
Interfaces
Type Aliases
Variables
Type Aliases
ArgumentMap
Ƭ ArgumentMap<T
>: { [K in keyof T]: T[K] extends Function ? Parameters<T[K]> : T[K] extends any[] ? T[K] : any[] }
Type parameters
Name | Type |
---|---|
T | extends object |
Defined in
node_modules/.pnpm/eventemitter3@5.0.1/node_modules/eventemitter3/index.d.ts:109
EventArgs
Ƭ EventArgs<T
, K
>: Parameters
<EventListener
<T
, K
>>
Type parameters
Name | Type |
---|---|
T | extends ValidEventTypes |
K | extends EventNames <T > |
Defined in
node_modules/.pnpm/eventemitter3@5.0.1/node_modules/eventemitter3/index.d.ts:126
EventListener
Ƭ EventListener<T
, K
>: T
extends string
| symbol
? (…args
: any
[]) => void
: (…args
: ArgumentMap
<Exclude
<T
, string
| symbol
>>[Extract
<K
, keyof T
>]) => void
Type parameters
Name | Type |
---|---|
T | extends ValidEventTypes |
K | extends EventNames <T > |
Defined in
node_modules/.pnpm/eventemitter3@5.0.1/node_modules/eventemitter3/index.d.ts:117
EventNames
Ƭ EventNames<T
>: T
extends string
| symbol
? T
: keyof T
Type parameters
Name | Type |
---|---|
T | extends ValidEventTypes |
Defined in
node_modules/.pnpm/eventemitter3@5.0.1/node_modules/eventemitter3/index.d.ts:105
ValidEventTypes
Ƭ ValidEventTypes: string
| symbol
| object
object
should be in either of the following forms:
Defined in
node_modules/.pnpm/eventemitter3@5.0.1/node_modules/eventemitter3/index.d.ts:103
Variables
EventEmitter
• Const
EventEmitter: EventEmitterStatic
Defined in
node_modules/.pnpm/eventemitter3@5.0.1/node_modules/eventemitter3/index.d.ts:131