Function waitForMutation

  • High level helper which is resolved on any DOM mutation.

    Type Parameters

    • T

    Parameters

    Returns Promise<void>

    Resolves on each page mutation.

    Example

    async function step(ctx: Context) {
    await waitForMutation(ctx);
    }

Generated using TypeDoc