Make TimeoutId an interface to allow custom implementations
Closed this issue · 2 comments
leozilla commented
The TimeoutId type could be an interface so that a TimeoutManager implementation can choose a suitable implementation.
Implementations could be UUTimeoutId, StringTimeoutId and NumericTimeoutId.
When storing the timeout state in a (distributed) database you could use the db key as the TimeoutId.
Domo42 commented
implemented in master branch