GrainExtensions.InvokeOneWay Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
InvokeOneWay<T>(T, Func<T,ValueTask>) |
Invokes a method of a grain interface is one-way fashion so that no response message will be sent to the caller. |
InvokeOneWay<T>(T, Func<T,Task>) |
Invokes a method of a grain interface is one-way fashion so that no response message will be sent to the caller. |
InvokeOneWay<T>(T, Func<T,ValueTask>)
- Source:
- GrainExtensions.cs
Invokes a method of a grain interface is one-way fashion so that no response message will be sent to the caller.
public static void InvokeOneWay<T> (this T grainReference, Func<T,System.Threading.Tasks.ValueTask> grainMethodInvocation) where T : class, Orleans.Runtime.IAddressable;
static member InvokeOneWay : 'T * Func<'T, System.Threading.Tasks.ValueTask (requires 'T : null and 'T :> Orleans.Runtime.IAddressable)> -> unit (requires 'T : null and 'T :> Orleans.Runtime.IAddressable)
<Extension()>
Public Sub InvokeOneWay(Of T As {Class, IAddressable}) (grainReference As T, grainMethodInvocation As Func(Of T, ValueTask))
Type Parameters
- T
Grain interface
Parameters
- grainReference
- T
Grain reference which will be copied and then a call executed on it
Function that should invoke grain method and return resulting ValueTask
Applies to
InvokeOneWay<T>(T, Func<T,Task>)
- Source:
- GrainExtensions.cs
Invokes a method of a grain interface is one-way fashion so that no response message will be sent to the caller.
public static void InvokeOneWay<T> (this T grainReference, Func<T,System.Threading.Tasks.Task> grainMethodInvocation) where T : class, Orleans.Runtime.IAddressable;
static member InvokeOneWay : 'T * Func<'T, System.Threading.Tasks.Task (requires 'T : null and 'T :> Orleans.Runtime.IAddressable)> -> unit (requires 'T : null and 'T :> Orleans.Runtime.IAddressable)
<Extension()>
Public Sub InvokeOneWay(Of T As {Class, IAddressable}) (grainReference As T, grainMethodInvocation As Func(Of T, Task))
Type Parameters
- T
Grain interface
Parameters
- grainReference
- T
Grain reference which will be copied and then a call executed on it
Function that should invoke grain method and return resulting task