Skip to main content
Version: v1

ITaskManagerEvents Interface

Signature

export interface ITaskManagerEvents extends ISharedObjectEvents

Extends: ISharedObjectEvents

Call Signatures

CallSignature Description
(event: "assigned" | "lost", listener: (taskId: string) => void): any Notifies when the local client has reached or left the front of the queue. Does not account for known pending ops, but instead only reflects the current state.

Call Signature Details

(event: "assigned" | "lost", listener: (taskId: string) => void): any

Notifies when the local client has reached or left the front of the queue. Does not account for known pending ops, but instead only reflects the current state.

Signature

(event: "assigned" | "lost", listener: (taskId: string) => void): any;