MCPcopy
hub / github.com/supermacro/neverthrow / asyncMap

Method asyncMap

src/result.ts:484–486  ·  view source on GitHub ↗
(_f: (t: T) => Promise<U>)

Source from the content-addressed store, hash-verified

482
483 // eslint-disable-next-line @typescript-eslint/no-unused-vars
484 asyncMap<U>(_f: (t: T) => Promise<U>): ResultAsync<U, E> {
485 return errAsync<U, E>(this.error)
486 }
487
488 unwrapOr<A>(v: A): T | A {
489 return v

Callers

nothing calls this directly

Calls 1

errAsyncFunction · 0.85

Tested by

no test coverage detected