Saxonberg Server API
    Preparing search index...

    Interface Engagement

    Base shape of an engagement. Both DurativeActivity (timed) and SustainedEngagement (untimed) satisfy this.

    interface Engagement {
        actor: Stuff & Engaged;
        cancelable: boolean;
        emissions?: readonly ScheduledEmission[];
        engagementId: string;
        interruptibleBy: ReadonlySet<keyof AbortReasonRegistry>;
        slots: ReadonlySet<EngagementSlot>;
        startedAt: number;
        type: string;
        getHost?(): Stuff | null;
        onAbort(reason: keyof AbortReasonRegistry): void;
        onStart(): void;
    }

    Hierarchy (View Summary)

    Index

    Properties

    actor: Stuff & Engaged
    cancelable: boolean
    emissions?: readonly ScheduledEmission[]
    engagementId: string
    interruptibleBy: ReadonlySet<keyof AbortReasonRegistry>
    slots: ReadonlySet<EngagementSlot>
    startedAt: number
    type: string

    Methods