Alambic.Waitable protocol

A generic interface for “waitable” objects.

Summary

Functions

Check if the resource is free (wait would not block)

Wait for the resource to be available

Types

t :: term

Functions

free?(waited)

Check if the resource is free (wait would not block)

wait(waited)

Wait for the resource to be available