configure

fun configure(configuration: ProcessOutConfiguration, force: Boolean = false)

Configures singleton instances accessible by ProcessOut.instance and ProcessOut.legacyInstance.

Parameters

configuration

Defines ProcessOut configuration.

force

When set to false (the default value), the configuration applies only on first invocation and all subsequent calls are ignored. When set to true, the existing instances will be reconfigured.