IntegrationHandler

struct IntegrationHandler : Sendable

Resolves the MoEngageSDKInstance associated with a partner integration and runs work on it.

When a workspaceId is provided the handler dispatches directly to that instance. When it is nil (fallback flow), the handler scans all registered instances for the one whose partnerIntegrationType matches type, enables it for the partner, and invokes the integrator + success callback for it.