module Async::Container::Notify

Handles the details of several process readiness protocols.

Public Class Methods

open!() click to toggle source

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.

# File lib/async/container/notify.rb, line 34
def self.open!
        @client ||= (
                Pipe.open! ||
                Socket.open! ||
                Console.open!
        )
end