Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AsyncEventQueue (AsyncEventBus replacement). #275

Merged
merged 23 commits into from
Jun 15, 2022
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix mistype.
  • Loading branch information
cheatfate committed Jun 15, 2022
commit f17ab0370d6799c6d6d8235eeadf1d7779212201
2 changes: 1 addition & 1 deletion chronos/asyncsync.nim
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ template location*(payload: EventPayloadBase): SrcLoc =

proc get*(event: AwaitableEvent, T: typedesc): T {.
deprecated: "Implementation has unfixable flaws, please use " &
"AsyncEventQueue[T] instead".} =.}
"AsyncEventQueue[T] instead".} =
## Returns event's payload of type ``T`` from event ``event``.
cast[EventPayload[T]](event.payload).value

Expand Down