Skip to content

Polymod.registerAllScriptClassesAsync uses lime.app.Promises, which is exclusive to Funkin Lime #457

Description

@NotHyper-474

polymod/polymod/Polymod.hx

Lines 950 to 957 in 04bf8a2

return lime.app.Promises.allSettled(futures).then((results) -> {
// Once all scripts have been registered, THEN validate the imports.
polymod.hscript._internal.Interp.validateImports();
if (Polymod.onScriptsLoaded != null) Polymod.onScriptsLoaded();
return lime.app.Future.withValue(results);
});

lime.app.Promises only exists in the Funkin Crew fork of lime, which means develop is currently unusable with the official lime haxelib.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions