[This is preliminary documentation and is subject to change.]
Defines event body execution asynchrony model
Namespace: NFX.TimeAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax
Members
Member name | Value | Description | |
---|---|---|---|
AsyncTask | 0 | The body should be called as a short-lived (less than 1 sec) task | |
LongRunningAsyncTask | 1 | 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+) | |
Sync | 2 | 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