class BoolChannel

Overview

A class which has two channels, one for which a state is true and the other for when the state if false

Defined in:

lavinmq/bool_channel.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(value : Bool) #

[View source]

Instance Method Detail

def close #

[View source]
def set(value : Bool) #

[View source]
def when_false : Channel(Nil) #

[View source]
def when_true : Channel(Nil) #

[View source]