turbodombuilder - v0.9.22
    Preparing search index...

    Function blockIdSignal

    • Function

      Parameters

      • OptionalblockKey: string | number

      Returns <
          Type extends
              TurboModel<any, any, any, any, TurboDataBlock<any, any, any, any, any>>,
          Value,
      >(
          value:
              | {
                  get?: (this: Type) => Value;
                  set?: (this: Type, value: Value) => void;
              }
              | ((initial: Value) => Value)
              | ((this: Type) => Value)
              | ((this: Type, v: Value) => void),
          context:
              | ClassFieldDecoratorContext<Type, Value>
              | ClassGetterDecoratorContext<Type, Value>
              | ClassSetterDecoratorContext<Type, Value>
              | ClassAccessorDecoratorContext<Type, Value>,
      ) => any

      blockIdSignal

      Same idea but binds the block id.