• Adds an initialization block to the global registry. When the global registry is initialized, these initialization blocks will be executed.

    Type Parameters

    • T

    Parameters

    • init: (() => T)
        • (): T
        • Returns T

    Returns GlobalRef<T>