package
Version:
v0.0.0-...-d98b529
Opens a new window with list of versions in this module.
Published: Aug 24, 2017
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
type Timeout interface {
Reset() bool
Cancel() bool
}
Timeout is an interface for objects that facilitate managing active timeouts, allowing resetting and canceling
New creates a Timeout, which calls timeoutFunc after duration.
It can be reset or cancelled.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.