Analyzer
detach
Detaches and removes an analyzer
moises.analyzer.detach
Parameters
Parameter | Type | Description |
---|---|---|
analyzerId | string | The ID of the analyzer to detach |
Returns:
Promise<boolean>
- Promise that resolves with success status
Example resolved value:
// When the promise resolves, you get:
false
Usage Example
import { initMoisesExtension } from '@moises.ai/extension'
const useMoisesExtension = initMoisesExtension({
id: 'my-extension',
name: 'My Extension',
description: 'Extension description',
icon: 'icon',
version: '1.0.0',
author: 'author'
})
const { moises } = useMoisesExtension()
const success = await moises.analyzer.detach('analyzer-id')
console.log('Analyzer detached:', success)
This file is automatically generated. Do not edit manually.