class Rubellite::ChannelBridge(T)

Overview

Typed channel bridge connecting a Crystal Channel(T) with Ruby

Defined in:

rubellite/channel.cr

Constructors

Instance Method Summary

Instance methods inherited from class Rubellite::BaseChannelBridge

close : Nil close, closed? : Bool closed?, receive_ruby : Value receive_ruby, send_ruby(val : Value) : Nil send_ruby

Constructor Detail

def self.new(channel : Channel(T)) #

[View source]
def self.new(capacity : Int32 = 0) #

[View source]

Instance Method Detail

def channel : Channel(T) #

[View source]
def close : Nil #

[View source]
def closed? : Bool #

[View source]
def receive_ruby : Value #

[View source]
def send_ruby(val : Value) : Nil #

[View source]