-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(examples): assorted fixes in the async example
* Use single tokio runtime instance. Move runtime initialization to the worker process. * Use `ngx_posted_next_events` to avoid posting events to the tail of currently executed queue. * Move `event` and `done` to the request context, remove `EventData`. * Ensure the async task cancellation when the request is aborted.
- Loading branch information
1 parent
aed46ba
commit 7bfeabf
Showing
1 changed file
with
81 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters