Interface IQuery<T>

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

interface IQuery<T> {
    Query: (() => T);
    Execute(): Result<T>;
}

Type Parameters

  • T

Implemented by

Properties

Methods

Properties

Query: (() => T)

Type declaration

    • (): T
    • Returns T

Methods

Generated using TypeDoc