Loading README.md +2 −3 Original line number Diff line number Diff line Loading @@ -20,13 +20,12 @@ In this model, all effectful computations are represented as higher-order functi **JavaScript version:** ```js // @returns {function(IO): Promise<T>} (req) => async (IO) => Promise<T> (req: Req) => (IO: Symbol) => Promise<T> ``` **Python version:** ```python def handler(req) -> Callable[[IO], Awaitable[T]] def handler(req: Req) -> Callable[[IO], Awaitable[T]] ``` In these examples: Loading Loading
README.md +2 −3 Original line number Diff line number Diff line Loading @@ -20,13 +20,12 @@ In this model, all effectful computations are represented as higher-order functi **JavaScript version:** ```js // @returns {function(IO): Promise<T>} (req) => async (IO) => Promise<T> (req: Req) => (IO: Symbol) => Promise<T> ``` **Python version:** ```python def handler(req) -> Callable[[IO], Awaitable[T]] def handler(req: Req) -> Callable[[IO], Awaitable[T]] ``` In these examples: Loading