â–¸ callSync<Payload, Response>(actionName, payload?): Response
description Call an custom action synchronous. If the plugin of custom action not ready, it
will throw an error.
example
Code
Type parameters
| Name | Type |
|---|---|
Payload | extends Data |
Response | extends void | Data |
Parameters
| Name | Type |
|---|---|
actionName | string |
payload? | Payload |
Returns
Response
Data
Ƭ Data: Object
Was this page helpful?
Last modified on