pytorch-lightning
pytorch-lightning copied to clipboard
Does the Lightning API support async handle_post?
📚 Documentation
Async is not supported and is not possible. It would be possible using a staticmethod, but at this time this is not supported.
cc @borda @rohitgr7 @Felonious-Spellfire
@tchaton Please help me a bit with the content for this.
.. note:: The Lightning App HTTP methods are synchronous as requests are routed from the App Rest API to the flow internally and asynchronous could lead to state collisions.