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
Down the road, I will probably try exploring making Core generic over the task type (though the primary API will remain without the generic). This would primarily be to be able to remove the required alloctions but could also potentially be used for adding lifetimes.
Though, again it isn't high priority and not an immediate concern.
Currently the Core is using a reference counter to create handles. However, I believe this can be elided with lifetimes.
Implementation notes:
spawn()
should take 'a (outlives Core) instead of 'static.Remote
doesn't require a lifetime (it uses mpsc), but I think it should have PhantomData for consistency.CURRENT_LOOP
.The text was updated successfully, but these errors were encountered: