Sha256: f16427f1b1c75f4f697b7d638a6d03162f7b5b336be9aa0162fca6d1ceb6beff
Contents?: true
Size: 327 Bytes
Versions: 57
Compression:
Stored size: 327 Bytes
Contents
# frozen_string_literal: true require_relative './exceptions' module Polyphony # Implements a unidirectional communication channel along the lines of Go # (buffered) channels. class Channel < Polyphony::Queue alias_method :receive, :shift def close flush_waiters(Polyphony::MoveOn.new) end end end
Version data entries
57 entries across 57 versions & 1 rubygems