W3cubDocs

/Crystal 0.31

struct Channel::Sender(T)

Defined in:

channel.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(fiber : Fiber, value : T, select_context : SelectContext(Nil)?)Source

Instance Method Detail

def cloneSource

def copy_with(fiber _fiber = @fiber, value _value = @value, select_context _select_context = @select_context)Source

def fiber : Fiber

def select_context : SelectContext(Nil)?

def value : T

© 2012–2019 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/0.31.1/Channel/Sender.html