Class ResolverExtensions
- Namespace
- MarymoorStudios.Core.Rpc
- Assembly
- MarymoorStudios.Core.Rpc.dll
Extensions for Resolver<T>.
public static class ResolverExtensions
- Inheritance
-
ResolverExtensions
- Inherited Members
Methods
Forward<TProxy, TServer>(Resolver<TServer>, TProxy)
Permanently transition the resolver to the "forwarded" state with whatever p
's
outcome becomes as the outcome.
public static void Forward<TProxy, TServer>(this Resolver<TServer> @this, TProxy p) where TProxy : Proxy<TServer> where TServer : AServer<TServer>
Parameters
this
Resolver<TServer>The resolver
p
TProxyThe promise whose future outcome should be this resolver's outcome.
Type Parameters
TProxy
TServer