• ------------------------------
  • JS API Reference

    Module: activity/api

    Table of contents

    Interfaces

    Type Aliases

    Type Aliases

    ActivityEvents

    Ƭ ActivityEvents: Object

    Type declaration

    NameType
    activityCreated(event: { activity: Activity }) => void
    errorCreatingActivity(event: { error: Error }) => void
    activityDestroyed(event: { activity: Activity }) => void
    errorDestroyingActivity(event: { activity: Activity ; error: Error }) => void
    exeUnitInitialized(event: { activity: Activity }) => void
    errorInitializingExeUnit(event: { activity: Activity ; error: Error }) => void
    activityStateChanged(event: { activity: Activity ; previousState: ActivityStateEnum }) => void
    errorRefreshingActivity(event: { activity: Activity ; error: Error }) => void
    scriptSent(event: { activity: Activity ; script: ExeScriptRequest }) => void
    scriptExecuted(event: { activity: Activity ; script: ExeScriptRequest ; result: string }) => void
    errorExecutingScript(event: { activity: Activity ; script: ExeScriptRequest ; error: Error }) => void
    batchResultsReceived(event: { activity: Activity ; batchId: string ; results: Result[] }) => void
    errorGettingBatchResults(event: { activity: Activity ; batchId: string ; error: Error }) => void
    batchEventsReceived(event: { activity: Activity ; batchId: string ; event: StreamingBatchEvent }) => void
    errorGettingBatchEvents(event: { activity: Activity ; batchId: string ; error: Error }) => void

    Defined in

    src/activity/api.ts:7