In multitenant environments, hosts may not want to buffer data outside of plugins for performance and isolation reasons.
In the proposed v0.3 spec, authors are permitted to return additional action enum values which can instruct the host to buffer more data and invoke onResponseBody again once the entire body is received or upon reaching the watermark: #63
For host environments which do not wish to buffer data, it would be good if this could be feature flag controlled so that the SDK can choose to buffer the data for the author to ensure correctness.
In multitenant environments, hosts may not want to buffer data outside of plugins for performance and isolation reasons.
In the proposed v0.3 spec, authors are permitted to return additional action enum values which can instruct the host to buffer more data and invoke onResponseBody again once the entire body is received or upon reaching the watermark: #63
For host environments which do not wish to buffer data, it would be good if this could be feature flag controlled so that the SDK can choose to buffer the data for the author to ensure correctness.