Skip to content

Commit

Permalink
doc: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
manast committed Oct 1, 2023
1 parent ef44349 commit a5de841
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,17 @@ interface QueuePayload {
}
```

The proxy will validate the function and the arguments and will return the result of the function call to the client, or an error if the function call failed.
The proxy will validate the function and the arguments and will return the result of the function call to the client, or an error if the function call failed following this interface:

```typescript
interface QueueResult {
ok?: any; // Result of the function call if it was successful
err?: {
message: string,
stack: string,
}
}
```

## [Worker API](#worker-api)

Expand Down

0 comments on commit a5de841

Please sign in to comment.