For the complete documentation index, see llms.txt. This page is also available as Markdown.

closeStream

Closes an active stream

(async() => {
    let closed = await SOLPay.closeStream("..."); // true
})();

Parameters:

  • stream: string - the stream to close

Returns:

boolean (true) - the confirmation for closing a stream

Throws:

  • SOL Pay SDK Fatal Error: Invalid stream ${stream}. - an invalid stream was used

Last updated