Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
mpsc
master
MPSC
Channel
ClosedError
Error
MultipleFibersReceiveError
Built with Crystal 1.9.2
2023-10-07 17:01:31 UTC
class
MPSC::Channel(T)
MPSC::Channel(T)
Reference
Object
Defined in:
mpsc.cr
Instance Method Summary
#close
: Nil
#closed?
#receive
: T
#receive?
: T | Nil
#send
(value : T) : Nil
Instance Method Detail
def
close
: Nil
#
[
View source
]
def
closed?
#
[
View source
]
def
receive
: T
#
[
View source
]
def
receive?
: T | Nil
#
[
View source
]
def
send
(value : T) : Nil
#
[
View source
]