PreparedAction

Source
import { PreparedAction } from "@prestojs/rest";

API

Constructor

new PreparedAction(action,urlResolveOptions,options)
Params:
ParameterTypeDescription
*actionEndpoint
*urlResolveOptionsUrlResolveOptions
*optionsExecuteInitOptions

Methods

execute(?init)
Params:
ParameterTypeDescription
initExecuteInitOptions
Returns:Promise

Properties

options

Source
An object with these properties:
PropertyTypeDescription
...any
Any properties from ExecuteInitOptions
...any
Any properties from UrlResolveOptions

urlResolveOptions

Source
UrlResolveOptions