LegacySession

public extension MoEngageStorage.Network.LegacySession
  • Default resume action for data tasks: calls the new-stack network API.

    Declaration

    Swift

    nonisolated(unsafe) static let defaultDataTaskResumeAction: (MoEngageStorage.Network.LegacyDataTask) -> Task<Void, Never>
  • Default resume action for download tasks: embeds the completion as a MoEngageStorage/Network/DownloadDestination/closure(_:) and calls the new-stack API.

    Declaration

    Swift

    nonisolated(unsafe) static let defaultDownloadTaskResumeAction: (MoEngageStorage.Network.LegacyDownloadTask) -> Task<Void, Never>