type: meya.thread.component.unlink
class: ThreadUnlinkComponent
path: /meya/thread/component/unlink.py
signature: -
Unlink the current Meya thread from an integration thread.
Fields
field | signature | required | type | default | description |
---|---|---|---|---|---|
spec | ○ | ○ | Spec | null | Override the original spec for this element |
context | ○ | ○ | dict | {} | Send context data with this component's event |
sensitive | ○ | ○ | bool | false | Mark this component's event as sensitive |
triggers | ○ | ○ | list | [] | Activate these dynamic triggers when the component runs |
thread_id | ○ | ○ | str | null | |
integration | ○ | ◉ | IntegrationRef |
Examples
Basic
triggers:
- keyword: meya.thread.component.unlink
steps:
- type: meya.thread.component.unlink
integration: integration.generic
Full
triggers:
- keyword: meya.thread.component.unlink
steps:
- type: meya.thread.component.unlink
spec:
type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY
context:
STRING: ANY
sensitive: false
triggers:
- type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY
thread_id: STRING
integration: integration.generic