-
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add async version of wait, add run and asyncRun (#243)
* Add async version of wait, add run and asyncRun `wait` stalls the thread it is running on. If that thread is used by the task executor it will mean running Tasks could stall. Added `asyncWait` to run application on a separate DispatchQueue. Also added a `run` and `asyncRun` which is a combination of `start` and `wait` * Update Sources/Hummingbird/Application.swift Co-authored-by: Joannis Orlandos <[email protected]> * Update Sources/Hummingbird/Application.swift Co-authored-by: Joannis Orlandos <[email protected]> * PR changes requested --------- Co-authored-by: Joannis Orlandos <[email protected]>
- Loading branch information
1 parent
0adb5e6
commit 3c7f440
Showing
2 changed files
with
51 additions
and
5 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
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