Skip to content

Commit d1f525d

Browse files
committed
fix: typos
Signed-off-by: tunnckoCore <5038030+tunnckoCore@users.noreply.github.com>
1 parent 257f6d9 commit d1f525d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ In some advanced scenarios, you may need to pass runtime context to handlers, li
384384

385385
You may or may not provide initial context that will be merged with the context you provide through `.callable({ context })`.
386386

387-
Providing context (and cache for that matter) can be done through the `.callable` method - that's useful for passing it from "execution place", not where you "define" your procedures - like server `Request/Response` (fetch API) handler.
387+
Providing context (and cache for that matter) can be done through the `.callable` method - that's useful for passing it from "execution place", not where you "define" your procedures. Such place is like server `Request/Response` (fetch API) handler.
388388

389389
```ts
390390
const procedure = zagora()
@@ -555,7 +555,7 @@ const procedure = zagora()
555555
// Expensive operation
556556
return input.toUpperCase();
557557
})
558-
.callable();
558+
.callable({ cache });
559559

560560
// First call executes handler
561561
const result1 = procedure('hello');

0 commit comments

Comments
 (0)