Saxonberg Server API
    Preparing search index...

    Interface DurativeActivity

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

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

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

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

    Methods