Stream.streamCloseCallback()

DESCRIPTION

Close the write direction of the stream without blocking. See Stream.close() for error codes.

Note: Odd name is to distinguish from AutoCloseable’s close() with very different semantics.

DECLARATION

    public void streamCloseCallback(NabtoCallback callback)

PARAMETERS

callback:
The callback that will be run once the stream is closed.