Randal answers a late night question about how to get a callback from Stream.periodic at the start of the stream, and solves it, and solves it, and solves it, and solves it some more. Examples shown of “async*” and “yield*” and concatenating streams and managing generic types and extensions on core classes. [NOTE: not for beginners!] Thanks to Simon Lightfoot (@devAngelsLondon) for code review and suggesting a few things.

#stream.periodic #initial callback

Getting an Initial Callback From Stream.periodic
1.55 GEEK