discord-w ~master (2022-03-12T05:59:06.0972821)
Dub
Repo
RateLimitObject
discord
w
ratelimiter
Undocumented in source.
mixin template
RateLimitObject (
Duration
repeat
) {
import
std
.
datetime
.
systime
;
;
import
core
.
sync
.
mutex
;
;
import
vibe
.
core
.
core
;
;
import
core
.
time
;
;
__gshared
Mutex
lock
;
__gshared
long
access
;
void
waitFor
();
}
Members
Functions
waitFor
void
waitFor
()
Undocumented in source. Be warned that the author may not have intended to support it.
Static variables
access
long
access
;
Undocumented in source.
lock
Mutex
lock
;
Undocumented in source.
Meta
Source
See Implementation
discord
w
ratelimiter
mixin templates
DynamicRateLimitObject
RateLimitObject