-
Notifications
You must be signed in to change notification settings - Fork 13
AsyncRestClient
codefriar edited this page Oct 5, 2023
·
2 revisions
STATUS: ACTIVE
wraps a restlib backed api call in a queueable context
Implemented types
System.Queueable , Database.AllowsCallouts
Default constructor
Param | Description |
---|---|
namedCredentialName |
String representing the named credential to use |
apiCall |
RestLibApiCall The RestLibApiCall that describes your callout |
handlerClass |
Type a type reference to the finalizer to be used. |
The RestLibApiCall that describes your callout
The handler class to instantiate to handle the response
the named credential to use for the api call
This method will be executed by the Queueable system and is responsible for making the Api call. The finalizer is attached according to the passed in handlerClass
Param | Description |
---|---|
qc |
QueueableContext Dependency Injected by the Queueable system |