bn.call
▸ call<Payload
, Response
>(actionName
, payload?
): Promise
<Response
>
description
Call an custom action.
example
const response = await bn.call("private-BIDS-social-login",{})
Type parameters
Name | Type |
---|---|
Payload | extends Data |
Response | extends void | Data |
Parameters
Name | Type |
---|---|
actionName | string |
payload? | Payload |
Returns
Promise
<Response
>
Data
Ƭ Data: Object