PreparedAction

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

API

Constructor

new PreparedAction(action,urlResolveOptions,options)

Arguments:

ArgumentTypeDescription
*actionEndpoint
*urlResolveOptionsUrlResolveOptions
*optionsExecuteInitOptions

Methods

execute(?init)

Arguments:

ArgumentTypeDescription
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