Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
MukjepScarlet authored Feb 25, 2025
1 parent d6f36e1 commit 76edd5c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ class ScriptModule(val script: PolyglotScript, moduleObject: Map<String, Any>) :
* @param eventName Name of the event.
* @param handler JavaScript function used to handle the event.
* 1. `() => void` (enable/disable)
* 2. `(Event) => void`
* 3. `async (JsSequence, Event) => void`
* 2. `(Event) => void` (handler<T>)
* 3. `async (Event) => void` (sequenceHandler<T>)
*/
fun on(eventName: String, handler: org.graalvm.polyglot.Value) {
if (!handler.canExecute()) {
Expand Down

0 comments on commit 76edd5c

Please sign in to comment.