@wailsio/runtime
    Preparing search index...

    Function Stream

    • Connect to a stream declared in Go with app.HandleStream(name, handler).

      Returns immediately with readyState === CONNECTING; listen for open, or just call WailsSocket.send once open. Creating a connection at module scope is supported and is the intended shape for generated bindings.

      Parameters

      • name: string

      Returns WailsSocket | WebSocket