closeInvocationStreamForOwner function

Future<void> closeInvocationStreamForOwner(
  1. Registered registered
)

Closes a registration's built-in delivery resources during owner shutdown.

Awaits override-stream cancellation and propagates its failure, but does not wait for paused application listeners to receive buffered invocations or done. This does not dispatch to a subclass override of Registered.closeInvocationStream.

Implementation

Future<void> closeInvocationStreamForOwner(Registered registered) =>
    registered._closeInvocationStream(waitForListeners: false);