Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: 2.x
Choose a base branch
from

Conversation

Lotzyprod
Copy link

@Lotzyprod Lotzyprod commented Feb 5, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant