@Identifier
Sets the unique runtime identifier for a class
Sets the unique runtime identifier for a class. Required for all registerable classes — without it, registration and event firing will fail.
import { Identifier } from '@code0-tech/hercules';Signature
@Identifier(id: string): ClassDecoratorExample
@Identifier('my_function')
export class MyFunction extends MyRuntimeFunction {}Applies to
Function, RuntimeFunction, Event, RuntimeEvent, DataType