streamClose method

Future<bool> streamClose(
  1. int streamId
)

Closes an active stream in the worker. Public counterpart of _streamClose for the same reason as streamFetch. New in v3.3.0.

Implementation

Future<bool> streamClose(int streamId) => _streamClose(streamId);