Documentation ¶
Overview ¶
Package ophandler provides an Op channel reader that redistributes the events into handlers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Loop ¶
Loop starts a background goroutine that starts reading from src and distributes received events into the given handler. It's stopped once src is closed. The returned channel will be closed once src is closed.
func WaitForDone ¶
WaitForDone waits for the done channel returned by Loop until the channel is closed or the context expires.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.