A helper structure that supports blocking sleep that can be rescheduled at any moment.
Demonstrates:
- Timer and its cancellation
- Signal Channel
- Selector used to wait on both timer and channel
- Run a Temporal service.
- Run the following command to start the worker
go run updatabletimer/worker/main.go
- Run the following command to start the example
go run updatabletimer/starter/main.go
- Run the following command to update the timer wake-up time
go run updatabletimer/updater/main.go