3 ms·
They’re referring to the: > assistant.on("textDelta”, () => … Callbacks, which are not async and can’t be streamed that way directly without wrapping it in so
by wokwokwok 2y ago
They’re referring to the:
> assistant.on("textDelta”, () => …
Callbacks, which are not async and can’t be streamed that way directly without wrapping it in some helper function.
(Which does seem obvious; I’m also not sure why they called it out specifically as not being async friendly? I guess most callback style functions these days have async equivalents in popular libraries and these ones don’t)