Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Poller ¶
type Poller interface { // Poll returns the pending notification on the given channels since the last retrieved id. Poll([]string, int64, *types.Context) []*bustypes.Notification // Stop the dispatching loop Stop() // Start the dispatching loop Start() }
A Poller is a long poll dispatching loop
var Dispatcher Poller
Dispatcher is the long polling dispatching loop
Click to show internal directories.
Click to hide internal directories.