Enum EventBodyAsyncModel
Defines event body execution asynchrony model
Namespace: Azos.Time
Assembly: Azos.dll
Syntax
public enum EventBodyAsyncModel
Fields
Name | Description |
---|---|
AsyncTask | The body should be called as a short-lived (less than 1 sec) task |
LongRunningAsyncTask | The body should be called as a long-running 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 | 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 |