Skip to content

Can I use the events from WebSocket/SignalR (javascript) on blazor? #14600

@jeanklann

Description

@jeanklann

The Blazor is pretty fast for now.
I almost click on an element and I imediately get an answer from the server.
But this is an hypothethical scenario.

The demos on internet, or some UI (like devexpress components) has some lag.
This is normal, i will always has lag, but thinking in a large system using Blazor this lag can be more intensive.

Given this scenario, can I 'intercept' some events from WebSockets/SignalR (in client-side) and call something like the blockui (http://malsup.com/jquery/block/#page)?
Something like blocking page/component before send an message to the blazor server and unblock when receive it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions