API:REST.Client.TRESTRequest.SynchronizedEvents
Delphi
property SynchronizedEvents: Boolean read FSynchronizedEvents write SetSynchronizedEvents default 1;
C++
__property SynchronizedEvents = {default=1};
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| property | published | REST.Client.pas REST.Client.hpp |
REST.Client | TRESTRequest |
Description
Indicates whether events (such as OnAfterExecute) should run in the context of the main application thread (True) or in the context of a separate thread (False).
{{#multireplace:REST.Client.TRESTRequest.SynchronizedEvents|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:REST.Client.TCustomRESTRequest.SynchronizedEvents|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:REST.Client.TCustomRESTRequest.SynchronizedEvents|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Indicates whether events (such as OnAfterExecute) should run in the context of the main application thread (True) or in the context of a separate thread (False).
If SynchronizedEvents is False, events run in the context of a separate thread, either in a thread that you create or, using ExecuteAsync.