You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes generating the payload of an event might involve some serialization overhead which would be better deferred until after the response has been sent. An example of this might be converting a numpy array to a type which is compatible with json.dumps.
Hi @judahrand, thanks for the suggestion. It sounds like a good idea. I haven't looked into it further, but I'm wondering if it would introduce any memory leak.
Sometimes generating the payload of an event might involve some serialization overhead which would be better deferred until after the response has been sent. An example of this might be converting a
numpy
array to a type which is compatible withjson.dumps
.I'm imagining something like:
The text was updated successfully, but these errors were encountered: