W3cubDocs

/Crystal 0.31

struct Channel::Receiver(T)

Defined in:

channel.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(fiber : Fiber, value_ptr : Pointer(T), state_ptr : Pointer(DeliveryState), select_context : SelectContext(T)?)Source

Instance Method Detail

def cloneSource

def copy_with(fiber _fiber = @fiber, value_ptr _value_ptr = @value_ptr, state_ptr _state_ptr = @state_ptr, select_context _select_context = @select_context)Source

def fiber : Fiber

def select_context : SelectContext(T)?

def state_ptr : Pointer(DeliveryState)

def value_ptr : Pointer(T)

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