diff --git a/README.md b/README.md index 75b8463..b84978a 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ functions. ```ts import { pipe } from "@core/pipe/async"; -const result = pipe( +const result = await pipe( 1, (v) => Promise.resolve(v + 1), // inferred as (v: number) => number | Promise (v) => Promise.resolve(v * 2), // inferred as (v: number) => number | Promise