This project has retired. For details please refer to its Attic page.
Apache REEF: Org.Apache.REEF.Utilities.AsyncUtils.RemoveSynchronizationContextAwaiter Struct Reference
Apache REEF  0.15.0
Retainable Evaluator Execution Framework
Public Member Functions | Properties | List of all members
Org.Apache.REEF.Utilities.AsyncUtils.RemoveSynchronizationContextAwaiter Struct Reference

This is to avoid deadlocks in clients that use synchronization context (WinForms/ASP.NET) Use at asynchronous entry points of all async REEF client APIs. More...

Inherits INotifyCompletion.

Public Member Functions

void OnCompleted (Action continuation)
 
RemoveSynchronizationContextAwaiter GetAwaiter ()
 
void GetResult ()
 

Properties

bool IsCompleted [get]
 

Detailed Description

This is to avoid deadlocks in clients that use synchronization context (WinForms/ASP.NET) Use at asynchronous entry points of all async REEF client APIs.

There is no need to use this in evaluator/driver.

Member Function Documentation

RemoveSynchronizationContextAwaiter Org.Apache.REEF.Utilities.AsyncUtils.RemoveSynchronizationContextAwaiter.GetAwaiter ( )
inline
void Org.Apache.REEF.Utilities.AsyncUtils.RemoveSynchronizationContextAwaiter.GetResult ( )
inline
void Org.Apache.REEF.Utilities.AsyncUtils.RemoveSynchronizationContextAwaiter.OnCompleted ( Action  continuation)
inline

Property Documentation

bool Org.Apache.REEF.Utilities.AsyncUtils.RemoveSynchronizationContextAwaiter.IsCompleted
get

The documentation for this struct was generated from the following file: