Function saveResolveLazy

  • lazy resolve... aka the function is called on resolve and a default value also is a producing function (called only if the original producer does not produce any result)

    Type Parameters

    • T

    Parameters

    • resolverProducer: (() => T)

      the producer for the resolve

        • (): T
        • Returns T

    • defaultValue: (() => T) = null

      the default value producer function

        • (): T
        • Returns T

    Returns Optional<T>

Generated using TypeDoc