Cancellable

public protocol Cancellable

A type that can cancel a pending deferred operation.

Conforming types hold a scheduled unit of work (e.g. a delayed flush task) that can be abandoned without side effects by calling cancel().

  • Cancels any pending scheduled operation without executing it.

    Declaration

    Swift

    func cancel(inInstance sdkInstance: isolated MoEngageSDKInstance)

    Parameters

    sdkInstance

    The isolated SDK instance providing the path and configuration context, mirroring flush(inInstance:).