Skip to main content

IAgentSchedulerEvents Interface

Events emitted by IAgentScheduler.

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 IAgentSchedulerEvents extends IEvent

Extends: IEvent

Call Signatures

CallSignature Alerts Description
(event: "picked" | "released" | "lost", listener: (taskId: string) => void): any Alpha Event when ownership of task changes

Call Signature Details

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

Event when ownership of task changes

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: "picked" | "released" | "lost", listener: (taskId: string) => void): any;