The highest tagged major version is
v4.
package
Version:
v3.2.2
Opens a new window with list of versions in this module.
Published: Mar 7, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
TickUntil will tick the mock clock until shouldStop returns false. Real sleep should be very small
type MockClock struct {
}
MockClock allows mocking time for testing
Add some time, triggering sleeping callbacks
AfterFunc simulates time.After
AfterFunc simulates time.AfterFunc
Source Files
¶
Click to show internal directories.
Click to hide internal directories.