requests ~master (2022-04-27T18:42:53Z)
Dub
Repo
Manager
requests
pool
Undocumented in source.
class
Manager (
R
) {
R
_range
;
uint
_workers
;
Route
[
Tid
]
_idle
;
Route
[
Tid
]
_busy
;
Job
[
Tid
]
_box
;
size_t
_sent
;
size_t
_received
;
Nullable
!
Result
_result
;
uint
_rc
;
bool
_exhausted
;
bool
boxIsEmpty
(Tid t);
auto
findWorker
(Route route);
}
Members
Functions
boxIsEmpty
bool
boxIsEmpty
(Tid t)
Undocumented in source. Be warned that the author may not have intended to support it.
findWorker
auto
findWorker
(Route route)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
_box
Job
[
Tid
]
_box
;
Undocumented in source.
_busy
Route
[
Tid
]
_busy
;
Undocumented in source.
_exhausted
bool
_exhausted
;
Undocumented in source.
_idle
Route
[
Tid
]
_idle
;
Undocumented in source.
_range
R
_range
;
Undocumented in source.
_rc
uint
_rc
;
Undocumented in source.
_received
size_t
_received
;
Undocumented in source.
_result
Nullable
!
Result
_result
;
Undocumented in source.
_sent
size_t
_sent
;
Undocumented in source.
_workers
uint
_workers
;
Undocumented in source.
Meta
Source
See Implementation
requests
pool
classes
Manager
functions
pool
worker
structs
Job
Pool
Quit
Result
Route