aboutsummaryrefslogtreecommitdiff
path: root/p2p/examples/shared
Commit message (Collapse)AuthorAgeFiles
* 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.