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
).
REST.Client.TRESTRequest.SynchronizedEvents inherits from REST.Client.TCustomRESTRequest.SynchronizedEvents. All content below this line refers to REST.Client.TCustomRESTRequest.SynchronizedEvents.
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.