• Explicitly set which implementation to use.

    Use this to force a specific implementation regardless of environment. Useful for benchmarking or when you know which implementation is best for your use case.

    Note: 'native' only works in Node.js.

    Parameters

    Returns Promise<void>

    Promise that resolves when the implementation is ready

    // Force JS fallback
    await setImplementation('js');

    // Force native (Node.js only)
    await setImplementation('native');