LiamMorrow / OrgnalR

SignalR backplane implemented through Orleans
Apache License 2.0
35 stars 8 forks source link

Add a method for getting strongly typed clients from within grains #33

Closed LiamMorrow closed 1 year ago

LiamMorrow commented 1 year ago

Two new methods: GetHubContext<THub, THubClient>() GetHubContext(string hubName)

on HubContextProvider will allow an application to pass in an interface reference for their clients. These methods will return clients which use these interfaces - avoiding the need for stringly typed SendCoreAsync()