Function synchronized

  • Calls func with the obj lock held.

    Parameters

    • obj: Wrapper<{}>

      Instance whose lock to hold.

    • fn: (() => void)

      Function to call with lock held.

        • (): void
        • Returns void

    Returns void

Generated using TypeDoc