Stone.js API
    Preparing search index...
    • A Stone.js decorator that integrates the Tencent SCF Adapter with a class.

      This decorator modifies the class to seamlessly enable Tencent SCF as the execution environment for a Stone.js application. By applying this decorator, the class is automatically configured with the necessary blueprint for Tencent SCF.

      Type Parameters

      • T extends ClassType = ClassType

        The type of the class being decorated. Defaults to ClassType.

      Parameters

      • options: TencentScfOptions = {}

        Optional configuration to customize the Tencent SCF Adapter.

      Returns ClassDecorator

      A class decorator that applies the Tencent SCF adapter configuration.

      import { TencentScf } from '@stone-js/tencent-scf-adapter';

      @TencentScf({
      alias: 'MyTencentScf',
      })
      class App {
      // Your application logic here
      }