Skript: Missing documentation for "AsyncEffect"

Created on 26 Jul 2018  路  2Comments  路  Source: SkriptLang/Skript

I have been researching how to do stuff with Skript async/threaded for a bit, and apart from the obvious usage of SkQuery's $ thread, i randomly went with searching for "Skript AsyncEffect" in google. And behold, there were some actual results: https://github.com/SkriptLang/Skript/blob/master/src/main/java/ch/njol/skript/util/AsyncEffect.java

My question now being: why isn't this in any way documented? Is it actually something internal that Skript users don't have access to?

Cheers

Most helpful comment

It's not intended for scripters to use, it's something skript/addon devs can extend to make an effect that runs on another thread. Skript doesn't have any type of tool to run things sync or async - scripters shouldn't have to determine that.

edit: i got sniped

All 2 comments

It is provided for Skript addons written in Java. Using it from scripts is not possible.

It's not intended for scripters to use, it's something skript/addon devs can extend to make an effect that runs on another thread. Skript doesn't have any type of tool to run things sync or async - scripters shouldn't have to determine that.

edit: i got sniped

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  3Comments

Romitou picture Romitou  路  3Comments

MrScopes picture MrScopes  路  3Comments

Anoniempje1234 picture Anoniempje1234  路  3Comments

Eryk1983S picture Eryk1983S  路  3Comments