Appearance
fx-flow v0.7.0 / flow / TryDoResult
TryDoResult<T>: IsNever<T> extends true ? never : IsAny<T> extends true ? unknown : T extends Promise<infer U> ? Promise<Result<Awaited<U>>> : Result<T>
T
IsNever
true
never
IsAny
unknown
Promise
Result
Awaited
U
• T
packages/core/src/flow/tryDo.ts:5