Struct FutureVoid
Provides a higher-level wrapper around CallSlot returned by Glue. All property accessors evaluate synchronously on the calling thread. This struct should not be used with One-Way calls
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: NFX.Glue
Assembly: NFX.dll
Syntax
public struct FutureVoid
Constructors
FutureVoid(CallSlot)
Declaration
public FutureVoid(CallSlot call)
Parameters
Type | Name | Description |
---|---|---|
CallSlot | call |
Fields
Call
Returns the underlying CallSlot object
Declaration
public readonly CallSlot Call
Field Value
Type | Description |
---|---|
CallSlot |
Properties
Available
Non-blocking call that returns true if result arrived, false otherwise
Declaration
public bool Available { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
Wait()
Blocking call that waits for call completion. Use non-blocking Available to see if call has completed
Declaration
public void Wait()