Interface InstanceManager

Hierarchy

  • InstanceManager

Properties

getStat: ((instId) => Record<string, Record<string, number>>)

Type declaration

    • (instId): Record<string, Record<string, number>>
    • Get all statistics of the given instance.

      Parameters

      • instId: string

        the instance ID.

      Returns Record<string, Record<string, number>>

incrStat: ((instId, node, category) => void)

Type declaration

    • (instId, node, category): void
    • Increment node statistics for the given instance.

      Parameters

      • instId: string

        the instance ID.

      • node: string

        the node name, or flow:node-like if it's a node inside a subflow.

      • category: string

        the category.

      Returns void

terminate: ((instId) => void)

Type declaration

    • (instId): void
    • Terminate the instance by given instance ID.

      Parameters

      • instId: string

        the instance ID.

      Returns void

      Since

      24.7.0