clockwork icon indicating copy to clipboard operation
clockwork copied to clipboard

add AfterFunc

Open muir opened this issue 3 years ago • 0 comments

I didn't see a way to build the equivalent of time.AfterFunc using the public APIs without leaking a goroutine and the callback func.

With the internal APIs, it's pretty easy.

muir avatar Jul 27 '22 00:07 muir