Nix  2.93.0-dev
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::AsyncSemaphore Class Reference

Classes

class  Token
 

Public Member Functions

 AsyncSemaphore (unsigned capacity)
 
 KJ_DISALLOW_COPY_AND_MOVE (AsyncSemaphore)
 
std::optional< TokentryAcquire ()
 
kj::Promise< Tokenacquire ()
 
unsigned capacity () const
 
unsigned used () const
 
unsigned available () const
 

The documentation for this class was generated from the following file: