REST.Client.TCustomRESTClient.SynchronizedEvents
Delphi
property SynchronizedEvents: Boolean read FSynchronizedEvents
C++
__property bool SynchronizedEvents = {read=FSynchronizedEvents, write=SetSynchronizedEvents, default=1};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | REST.Client.pas REST.Client.hpp |
REST.Client | TCustomRESTClient |
Description
Indicates whether events (such as OnHTTPProtocolError) should run in the context of the main thread (SynchronizedEvents is True
) or in the context of an arbitrary thread that you create with TCustomRESTRequest.ExecuteAsync (SynchronizedEvents is False
).