Skip to content
← Back to Index

OnAssetBeforeCreated

This hook runs before any command have been applied to an Asset Actor from the create message. Commands returned will be applied to the asset before the create message's commands.

Type

filtrera
{
  hook: 'OnAssetBeforeCreated'
  asset: Asset
}

Effects

validationError Prevents the operation and returns an error to the caller.
assetCommand Applies a command to the asset before the `create` message's commands.

© 2024 Hantera AB. All rights reserved.