Alambic.Waitable protocol (alambic v1.1.0)
A generic interface for "waitable" objects.
Link to this section Summary
Functions
Check if the resource is free (wait would not block)
Wait for the resource to be available
Link to this section Types
Specs
t() :: term()
Link to this section Functions
Link to this function
free?(waited)
Check if the resource is free (wait would not block)
Link to this function
wait(waited)
Wait for the resource to be available