Langium - v4.0.0
    Preparing search index...

    Class Deferred<T>

    Simple implementation of the deferred pattern. An object that exposes a promise and functions to resolve and reject it.

    Type Parameters

    • T = void
    Index

    Constructors

    Properties

    Constructors

    Properties

    promise: Promise<T> = ...
    reject: (err?: unknown) => this
    resolve: (value: T) => this