PreEmptive Analytics .NET API  1.3
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | List of all members
PreEmptive.Analytics.Common.IAsyncProvider Interface Reference

An asynchronous mechanism provider More...

Inherited by PreEmptive.Analytics.Common.IPlatform.

Public Member Functions

void ExecuteAsyncIfSupported (Action action, bool highPriority=false)
 Execute action asynchronously on another thread. This should create a new thread, not use the ThreadPool unless there are no other options. The API makes use of both ThreadPool and this method. This method is used when a long-running thread will be started, or the thread needs to be started as quickly as possible and/or with higher priority More...
 

Detailed Description

An asynchronous mechanism provider

Member Function Documentation

void PreEmptive.Analytics.Common.IAsyncProvider.ExecuteAsyncIfSupported ( Action  action,
bool  highPriority = false 
)

Execute action asynchronously on another thread. This should create a new thread, not use the ThreadPool unless there are no other options. The API makes use of both ThreadPool and this method. This method is used when a long-running thread will be started, or the thread needs to be started as quickly as possible and/or with higher priority

Parameters
actionThe action to execute asynchronously
highPriorityIf the thread should be considered high-priority or not. If it's not high-priority, it can be considered "below normal" priority

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