Closed MatthewWid closed 3 years ago
Inspired by fastify-sse-v2, this PR adds support for processing iterables and sending yielded values back to the client as events.
fastify-sse-v2
In addition, it also renames the Session#stream event option to eventName.
Session#stream
event
eventName
Inspired by
fastify-sse-v2
, this PR adds support for processing iterables and sending yielded values back to the client as events.In addition, it also renames the
Session#stream
event
option toeventName
.