How to stop Process Streaming Response "manually" from Flutterflow

Database & APIs

With the new "Process Streaming Response" feature for API Call, Hello, do you know how to manually stop the streaming of an API from Flutterflow after opening it from Flutterflow? Currently, Flutterflow offers 3 possible actions on triggers that "come" from the server once the streamed API is opened (onMessage, onError, onClose) on the Flutterflow side. The onClose corresponds to the end of the API stream but triggered on the server side (e.g., the end of a chat completion stream). However, if we want to keep it open to get new records of a table "in real-time" when a page is open, do you know how to "manually" close the streamed API (which has remained open between the front-end and the server)?

What have you tried so far?

Read Flutterflow documentation

Did you check FlutterFlow's Documentation for this topic?
Yes