Creates a Deferred promise

  • Type Parameters

    • T
    • E = T

    Returns Deferred<T, E>

    Promise with resolve/reject methods exposed