Body, Mind & Soul — API Reference
Preparing search index...
helpers/action-resources
consumeActionResources
Function consumeActionResources
consumeActionResources
(
actor
:
Actor
,
actionItem
:
Item
,
)
:
Promise
<
{
record
:
object
|
null
;
success
:
boolean
}
>
Consume the resources required by an action.
Parameters
actor
:
Actor
The actor using the action
actionItem
:
Item
The action item being used
Returns
Promise
<
{
record
:
object
|
null
;
success
:
boolean
}
>
success flag and consumption record for refunds
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
Body, Mind & Soul — API Reference
Loading...
Consume the resources required by an action.