package
Version:
v3.46.3+incompatible
Opens a new window with list of versions in this module.
Published: Oct 6, 2018
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Instance is a utility for notifications of something being done.
func (d *Instance) Close() error
Close marks this Done 'done'. This method may be called multiple times. All calls after first call will have no effect on its status.
func (d *Instance) Done() bool
Done returns true if Close() is called.
func (d *Instance) Wait() <-chan struct{}
Wait returns a channel for waiting for done.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.