aboutsummaryrefslogtreecommitdiff
path: root/p2p/examples/shared
Commit message (Collapse)AuthorAgeFiles
* core: add the option to create a new task group without providing anhozan232024-03-201
| | | | executor & remove GlobalExecutor type
* Ensure uniform usage of the name `karyon` across all fileshozan232023-12-021
|
* improve the TaskGroup APIhozan232023-11-151
the TaskGroup now holds an Executor instead of passing it when calling its spawn method also, define a global executor `Executor<'static>` and use static lifetime instead of a lifetime placeholder This improvement simplify the code for spawning a new task. There is no need to pass the executor around.