PromiseValueTransform

Construct a new Promise type based on P, if the given transformation was applied on the value type. If P is a void Promise, then the returned promise will also be void.

template PromiseValueTransform (
P
alias transform
) if (
is(P == Promise!(T, E),
T
E
)
) {}

Members

Aliases

PromiseValueTransform
alias PromiseValueTransform = Promise!(T2, E)

ditto

Meta