Theia API Documentation v1.65.0
    Preparing search index...

    Class Transaction<Arguments, Result, Status>Abstract

    Type Parameters

    • Arguments extends unknown[]
    • Result = unknown
    • Status = unknown

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _open: boolean = true
    _result: Deferred<false | Result> = ...
    inUse: boolean = false

    Whether any actions have been added to the transaction. The Transaction will not self-dispose until at least one action has been performed.

    onWillConclude: Registration<false | Status, Promise<void>> = ...

    An event fired when the transaction is wrapping up. Consumers can call waitUntil on the event to delay the resolution of the result Promise.

    onWillConcludeListeners: ListenerList<false | Status, Promise<void>> = ...
    queue: Mutex = ...

    The transaction will self-dispose when the queue is empty, once at least one action has been processed.

    status: Deferred<Status> = ...

    Accessors

    Methods