createRunner
Creates a runner that pulls in updates from the supplied source, and passes them to the supplied sink. Returns a handle that lets you control the runner, e.g. start it.
Type Parameters
Y
ts
Y
Parameters
source
ts
source: UpdateSource<Y>
The source of updates
sink
ts
sink: UpdateSink<Y>
The sink for updates
Return Type
A handle to start and manage your bot