EventBodyAsyncModel EnumerationNFX Class Library

[This is preliminary documentation and is subject to change.]

Defines event body execution asynchrony model

Namespace: NFX.Time
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public enum EventBodyAsyncModel
Members

  Member nameValueDescription
AsyncTask0 The body should be called as a short-lived (less than 1 sec) task
LongRunningAsyncTask1 The body should be called as a long-runnig task. The system may dedicate it a thread. Use this ONLY for events that fire infrequently (i.e. once every X minutes+) and take long time to execute (seconds+)
Sync2 ADVANCED FEATURE. Run task synchronously on the timer thread. Use this option ONLY if the task body is very short (less than 10 ms). In most cases do not use this option as event body blocks the whole global application timer thread
See Also