Interface ChooseCallbacks<T>

Type Parameters

Hierarchy

  • ChooseCallbacks

Properties

Properties

onComplete: (() => void)

Type declaration

    • (): void
    • Called when all instances have been enumerated.

      Returns void

onMatch: ((instance: Wrapper<T>) => void | "stop")

Type declaration

    • (instance: Wrapper<T>): void | "stop"
    • Called with each live instance found with a ready-to-use instance just as if you would have called Java.cast() with a raw handle to this particular instance.

      May return EnumerateAction.Stop to stop the enumeration early.

      Parameters

      Returns void | "stop"

Generated using TypeDoc