Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
fiberpool
master
Fiber
Pool
Fiberpool
Worker
Built with Crystal 1.9.2
2023-10-08 10:20:28 UTC
class
Fiberpool(T, I)
Fiberpool(T, I)
Reference
Object
Defined in:
fiberpool.cr
Constructors
.new
(iterator : Iterator(T), pool_size)
.new
(iterable : Iterable, pool_size =
10
)
Instance Method Summary
#exceptions
: Array(Exception)
#run
(&block : T -> Void)
Constructor Detail
def self.
new
(iterator : Iterator(T), pool_size)
#
[
View source
]
def self.
new
(iterable : Iterable, pool_size =
10
)
#
[
View source
]
Instance Method Detail
def
exceptions
: Array(Exception)
#
[
View source
]
def
run
(&block : T -> Void)
#
[
View source
]