Module: Plumbing::Awaitable

Included in:
Plumbing::Actor::Message
Defined in:
lib/plumbing.rb

Overview

Marker for things that can be await-ed via Kernel#Await. Including this module advertises that the host class has a real #await method. We can't use respond_to?(:await) to detect this because Kernel#Await is aliased to Kernel#await, so every object responds to it.