Skip to main content

CoreEventLoopCompleted Interface

An EventFlowDebugEvent for signaling the end of the ai-collab's core event loop. There could be various reasons for the event loop to end, early exits and failures which should be captured in the status and failureReason fields. There will be exactly 1 of these events per ai-collab function execution.

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

To use, import via @fluidframework/ai-collab/alpha.

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

Signature

export interface CoreEventLoopCompleted extends EventFlowDebugEvent

Extends: EventFlowDebugEvent

Properties

Property Alerts Modifiers Type Description
errorMessage Alpha optional string
eventFlowName Alpha typeof EventFlowDebugNames.CORE_EVENT_LOOP
eventFlowStatus Alpha "COMPLETED"
eventName Alpha "CORE_EVENT_LOOP_COMPLETED"
failureReason Alpha optional string
status Alpha "success" | "failure"

Property Details

errorMessage

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

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

Signature

errorMessage?: string;

Type: string

eventFlowName

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

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

Signature

eventFlowName: typeof EventFlowDebugNames.CORE_EVENT_LOOP;

Type: typeof EventFlowDebugNames.CORE_EVENT_LOOP

eventFlowStatus

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

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

Signature

eventFlowStatus: "COMPLETED";

Type: "COMPLETED"

eventName

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

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

Signature

eventName: "CORE_EVENT_LOOP_COMPLETED";

Type: "CORE_EVENT_LOOP_COMPLETED"

failureReason

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

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

Signature

failureReason?: string;

Type: string

status

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

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

Signature

status: "success" | "failure";

Type: "success" | "failure"