@grow-codes/apache-skywalking - v0.1.1
    Preparing search index...

    Interface CategoryOps<T>

    Everything the runner needs for one category.

    interface CategoryOps<T> {
        dispose?: (target: T, context: OpContext) => unknown;
        ops: OpHandlers<T>;
        variables?: (target: T) => Record<string, unknown>;
    }

    Type Parameters

    • T
    Index
    dispose?: (target: T, context: OpContext) => unknown

    Called after each scenario (e.g. close the client).

    variables?: (target: T) => Record<string, unknown>

    Extra variables derived from the target (e.g. tracing serviceName).