Interface Export.Pointer<T>

  • Type Parameters:
    T - the type
    All Superinterfaces:
    Supplier<T>
    Enclosing interface:
    Export<T>

    public static interface Export.Pointer<T>
    extends Supplier<T>
    A pointer to the value of an export.

    Can be used in scripts to simplify the process of obtaining an export whose instance is likely to change during runtime.

    e.g.

    const someExport = exports.pointer("example-namespace"); someExport().doSomething();
    • Method Summary

      • Methods inherited from interface java.util.function.Supplier

        get