kord
Toggle table of contents
or(map(map(map(map(valueof(ProcessOutputValueSource))))), map(map(map(map(valueof(ProcessOutputValueSource))))))
common
Platform filter
common
Switch theme
Search in API
kord
kord-gateway
/
dev.kord.gateway
/
Ticker
Ticker
class
Ticker
(
dispatcher
:
CoroutineDispatcher
=
Dispatchers.Default
)
:
CoroutineScope
(
source
)
A reusable fixed rate ticker.
Parameters
dispatcher
The dispatchers the events will be fired on.
Members
Constructors
Ticker
Link copied to clipboard
constructor
(
dispatcher
:
CoroutineDispatcher
=
Dispatchers.Default
)
Properties
coroutine
Context
Link copied to clipboard
open
override
val
coroutineContext
:
CoroutineContext
Functions
stop
Link copied to clipboard
suspend
fun
stop
(
)
tick
At
Link copied to clipboard
suspend
fun
tickAt
(
intervalMillis
:
Long
,
block
:
suspend
(
)
->
Unit
)