-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Thanks for the library, it's working great so far!
For performance, it's sometimes preferable to use ValueTask<T> instead of Task<T> to avoid an allocation if there is no actual asynchronicity involved. Many of my simpler hub methods really do not do anything async, and thus don't benefit from Task<T> on the backend side.
My specific request:
- allow methods in hubs to have a
ValueTaskinstead of aTaskand generate the exact same resulting typescript code - (optional) allow methods in hubs to just not be async at all, which should be supported by SignalR.
If you want help and a timely release is possible, you can give me code entry points and I can work on this myself.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request