pauseStream

Pauses an active stream

(async() => {
    let paused = await SOLPay.pauseStream("..."); // true
})();

Parameters:

  • stream: string - the stream to pause

Returns:

boolean (true) - the confirmation for pausing a stream

Throws:

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

Last updated