REST.Client.TCustomRESTRequest.SynchronizedEvents

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property SynchronizedEvents: Boolean read FSynchronizedEvents write SetSynchronizedEvents default True;

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 TCustomRESTRequest

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).

If SynchronizedEvents is False, events run in the context of a separate thread, either in a thread that you create or, using ExecuteAsync.

See Also