ScriptEventCommandMessageAfterEventSignal Class
Allows for registering an event handler that responds to inbound /scriptevent commands.
Methods
subscribe
subscribe(callback: (arg: ScriptEventCommandMessageAfterEvent) => void, options?: ScriptEventMessageFilterOptions): (arg: ScriptEventCommandMessageAfterEvent) => void
Registers a new ScriptEvent handler.
Parameters
- callback: (arg: ScriptEventCommandMessageAfterEvent) => void
- options?: ScriptEventMessageFilterOptions =
null
Returns (arg: ScriptEventCommandMessageAfterEvent) => void
Important
This function can't be called in read-only mode.
unsubscribe
unsubscribe(callback: (arg: ScriptEventCommandMessageAfterEvent) => void): void
Unsubscribes a particular handler for a ScriptEvent event.
Parameters
- callback: (arg: ScriptEventCommandMessageAfterEvent) => void
Important
This function can't be called in read-only mode.
Warning
This function can throw errors.
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示