Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
scraper
main
Top Level Namespace
Cronun
Database
Paginator
Models
Department
Group
Schedule
Subject
Scraper
Data
Services
Http
Utils
Queue
Task
Generated using Crystal 1.14.0
2024-11-26 07:28:33 UTC
class
Queue
Queue
Reference
Object
Defined in:
common/queue.cr
Constant Summary
Log
=
::
Log
.
for
(
self
)
Constructors
.new
(capacity : Int32 =
5
, wait_for : Time::Span =
1
.second)
Instance Method Summary
#add
(&block)
#close
#done?
: Bool
#empty?
Constructor Detail
def self.
new
(capacity : Int32 =
5
, wait_for : Time::Span =
1
.second)
#
[
View source
]
Instance Method Detail
def
add
(&block)
#
[
View source
]
def
close
#
[
View source
]
def
done?
: Bool
#
[
View source
]
def
empty?
#
[
View source
]