Tracking Issue for once_wait
#127527
Labels
C-tracking-issue
Category: An issue tracking the progress of sth. like the implementation of an RFC
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
Feature gate:
#![feature(once_wait)]
This is a tracking issue for adding a blocking
.wait()
method onOnce
andOnceLock
, to allow other threads to synchronize on their completion. This will provide the same interface asonce_cell
'sOnceCell::wait
.Public API
Steps / History
OnceLock::wait
libs-team#405once_wait
feature #127567Unresolved Questions
Mutex
does not have async methods. This would probably get its own feature gate.Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩
The text was updated successfully, but these errors were encountered: