PICTools Programmer's Reference
Appendix 2: Handling Pegasus() Responses

In some scenarios, Pegasus may send an intermediate response to the application before the requested operation is completed and the final response (RES_DONE or RES_ERROR) is sent.

The application can choose between two different modes of receiving and handling these intermediate responses from Pegasus:

Callback function (DeferFn) mode.

Coroutine mode.

Not all these implementations are available in all platforms. Furthermore, the implementation that is used by default is also platform specific.  Below we discuss each platform and provide basic information about trade-offs between the implementations.

 

 

 


©2022. Accusoft Corporation. All Rights Reserved.

Send Feedback