Skip to main content

ITaskSubscriptionEvents Interface

Events emitted by TaskSubscription.

This API is provided for existing users, but is not recommended for new users.

To use, import via @fluidframework/agent-scheduler/legacy.

For more information about our API support guarantees, see here.

Signature

export interface ITaskSubscriptionEvents extends IEvent

Extends: IEvent

Call Signatures

CallSignature Alerts Description
(event: "gotTask" | "lostTask", listener: () => void): any Alpha

Call Signature Details

(event: "gotTask" | "lostTask", listener: () => void): any

This API is provided as an alpha preview and may change without notice.

To use, import via @fluidframework/agent-scheduler/alpha.

For more information about our API support guarantees, see here.

Signature

(event: "gotTask" | "lostTask", listener: () => void): any;