Type alias SingleResultCallback<T>

SingleResultCallback<T>: ((entity: T | null) => Promise<any> | any)

Type Parameters

  • T

Type declaration

    • (entity: T | null): Promise<any> | any
    • The singleResult callback is called, when the asynchronous query operation completes successfully

      Returns

      A Promise, result or undefined

      Parameters

      • entity: T | null

        The matching object or null id no matching object was found

      Returns Promise<any> | any

Generated using TypeDoc