You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PR #261 adds a JoinHandle type to maitake::task. A task can only have a single JoinHandle, since there is only one slot for a join waker. However, we could add a "weak task handle" type that allows accessing information about the task without the permission to await its completion and read its output. Unlike JoinHandles, this type could be freely cloned. Tokio has an equivalent of this with the AbortHandle type (currently unstable).
PR #261 adds a
JoinHandle
type tomaitake::task
. A task can only have a singleJoinHandle
, since there is only one slot for a join waker. However, we could add a "weak task handle" type that allows accessing information about the task without the permission to await its completion and read its output. UnlikeJoinHandle
s, this type could be freely cloned. Tokio has an equivalent of this with theAbortHandle
type (currently unstable).The text was updated successfully, but these errors were encountered: