Async::Container SourceAsyncContainerNotify

module Notify

Handles the details of several process readiness protocols.

Nested

Definitions

def self.open!

Select the best available notification client. We cache the client on a per-process basis. Because that's the relevant scope for process readiness protocols.

Implementation

def self.open!
	@client ||= (
		Pipe.open! ||
		Socket.open! ||
		Console.open!
	)
end