skript-reflect icon indicating copy to clipboard operation
skript-reflect copied to clipboard

Added sync-only entry in custom events (attempt #2)

Open Lotzyprod opened this issue 2 years ago • 0 comments

In general, at the time of declaring a custom event, you can specify whether the skript should process this event only synchronously. ex:

custom event "evt"
   pattern: "my_evt"
   sync-only: true
  #sync only: true (second pattern)

Initially, now, any custom event can be processed asynchronously (for backwards compatability), unless 'sync only: true' is specified Why not allow async, I thought that since initially any event is now processed asynchronously (if possible), then sync only sounds more logical.

Lotzyprod avatar Feb 05 '24 07:02 Lotzyprod