跳到主要内容

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

NameType
Payloadextends Data
Responseextends void | Data

Parameters

NameType
actionNamestring
payload?Payload

Returns

Promise<Response>


Data

Ƭ Data: Object