Skip to main content

on_failover

Method
This is a method of the FailoverManager class in the failover module.
Register a callback for failover events.

Signature

def on_failover(callback: Callable[[AuthProfile, AuthProfile], None]) -> None

Parameters

callback
Callable
required
Function called with (failed_profile, new_profile)