@camunda8/sdk
    Preparing search index...

    Interface StreamAttachment

    interface StreamAttachment {
        dispose: () => void;
    }
    Index

    Properties

    Properties

    dispose: () => void

    Cancel and destroy the stream and suppress all further handler calls. The adapter's own listeners stay attached on purpose: removing the error listener from a stream that is then cancelled would turn the resulting CANCELLED error event into an uncaught exception.