Interface IAsyncQuery<T>

Wraps a generic async function returning a Result containing the return value of said function

interface IAsyncQuery<T> {
    AsyncQuery: (() => Promise<T>);
    Execute(): Promise<Result<T>>;
}

Type Parameters

  • T

Implemented by

Properties

Methods

Properties

AsyncQuery: (() => Promise<T>)

Type declaration

    • (): Promise<T>
    • Returns Promise<T>

Methods

Generated using TypeDoc