Restate Typescript SDK
    Preparing search index...

    Type Alias GenDurablePromise<T>

    Same shape as the SDK's DurablePromise but each method returns Future<...>.

    type GenDurablePromise<T> = {
        get(): Future<T>;
        peek(): Future<T | undefined>;
        reject(errorMsg: string): Future<void>;
        resolve(value?: T): Future<void>;
    }

    Type Parameters

    • T
    Index

    Methods