MoEngageControllerProvider
public extension MoEngageControllerProvider
Bridges a MoEngageControllerProvider (non-isolated) to MoEngageSDKControllerProvider
(actor-isolated), enabling MoEngageSDKControllerDispatcher to drive the deprecated provider.
Declared on MoEngageControllerProvider (not MoEngageSDKControllerProvider) so the
non-isolated getController(forInstance:) requirement is in scope. The forwarding call is
bound through an explicitly typed (MoEngageSDKInstance) -> … function reference so it
resolves to the non-isolated overload — calling getController(forInstance:) directly here
would re-select this isolated default and recurse infinitely.
-
Declaration
Swift
static func getController(forInstance sdkInstance: isolated MoEngageSDKInstance) -> Controller -
Declaration
Swift
static func removeController(forInstance sdkInstance: isolated MoEngageSDKInstance)