Ecosyste.ms: Repos
An open API service providing repository metadata for many open source software ecosystems.
Package Usage: go: go.pact.im/x/clock
Package clock defines basic interfaces to a clock. A clock can be provided by
the host operating system but also by other packages.
A clock provides a capability to schedule an arbitrary event to run after at
least the given duration. On expiry, the event calls a function in its own
goroutine with the current time argument. All other functions are implemented
in terms of scheduled events or using an optimized Scheduler implementations.
A time.Now function signature should be accepted instead of Clock instance
if a limited capability is required that allows getting the current time but
not scheduling new events. It is possible to implement Schedule, Timer and
Ticker in terms of each other interchangeably and hence there is no option to
limit the scope for these operations.
6 versions
Latest release: over 1 year ago
3 dependent packages
View more package details: https://packages.ecosyste.ms/registries/proxy.golang.org/packages/go.pact.im/x/clock
View more repository details: https://repos.ecosyste.ms/hosts/GitHub/repositories/pact-im%2Fgo-pkg
Dependent Repos 2
pact-im/go-pkg
- v0.0.4 flaky/go.mod
- v0.0.4 flaky/go.sum
- v0.0.4 process/go.mod
- v0.0.4 process/go.sum
- v0.0.6 grpcprocess/go.mod
- v0.0.6 grpcprocess/go.sum
Size: 45 MB - Last synced: about 22 hours ago - Pushed: about 23 hours ago
tie/go-pkg Fork of pact-im/go-pkg
- v0.0.5 flaky/go.mod
- v0.0.5 flaky/go.sum
- v0.0.5 grpcprocess/go.mod
- v0.0.5 grpcprocess/go.sum
- v0.0.5 process/go.mod
- v0.0.5 process/go.sum
- v0.0.6 supervisor/go.mod
- v0.0.6 supervisor/go.sum
Size: 45.3 MB - Last synced: about 22 hours ago - Pushed: about 23 hours ago