executeLightningCallback(labels, state)
Calls back the method that is called automatically after the
Continuation from getLightningContinuation is executed. Internally calls the callback method
of the provider.
Signature
global static Object executeLightningCallback(List<String> labels, Map<String, Object> state)
Parameters
Return Value
Returns one of the following:
- If successful, returns a Map<String, Object> response from the API call after the callback method has processed the response.
- If unsuccessful, returns a String value containing the error message.
Usage
This method isn't meant to be called directly — the LWC framework calls it automatically.