Interface: IScheduler
Defined in: contracts.ts:35
Methods
dispose()
dispose(): void;
Defined in: contracts.ts:38
Returns
void
emit()
emit<TChannel extends keyof SchedulerEventMap>(channel: TChannel, payload: SchedulerEventMap[TChannel]): void;
Defined in: contracts.ts:37
Type Parameters
| Type Parameter |
|---|
TChannel extends keyof SchedulerEventMap |
Parameters
| Parameter | Type |
|---|---|
channel | TChannel |
payload | SchedulerEventMap[TChannel] |
Returns
void
subscribe()
subscribe<TChannel extends keyof SchedulerEventMap>(channel: TChannel, handler: SchedulerHandler<TChannel>): () => void;
Defined in: contracts.ts:36
Type Parameters
| Type Parameter |
|---|
TChannel extends keyof SchedulerEventMap |
Parameters
| Parameter | Type |
|---|---|
channel | TChannel |
handler | SchedulerHandler<TChannel> |
Returns
() => void