@camunda8/sdk
    Preparing search index...

    Interface PollingOperationOptionsWithPredicate<T>

    interface PollingOperationOptionsWithPredicate<T> {
        interval?: number;
        operation: () => Promise<T>;
        predicate: (result: T) => boolean;
        timeout?: number;
    }

    Type Parameters

    • T

    Hierarchy (View Summary)

    Index

    Properties

    interval?: number

    how often to poll in ms - defaults to 1000

    operation: () => Promise<T>
    predicate: (result: T) => boolean

    predicate to check if the result is valid

    timeout?: number

    when to timeout - defaults to 30000