Skip to content

Vanilla-Client: Procedures never resolve when websockets are disconnected #226

Open
@v-morlock

Description

@v-morlock

Hi,

i was playing around with the vanilla client and it seems like currently, requests will never resolve when they are performed against a websocket client and the client is disconnected...

export const client = createClient<Procedures>({
  transport: new WebsocketTransport("ws://localhost:4000/rspc/ws"),
});

await  await client.query(["..."]) // → won't resolve

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions