CombineLobster

@available(iOS 13.0, *)
public struct CombineLobster

CombineLobster is a extension class with Combine.

It allows you handle Lobster with Combine

  • Returns Publisher that tells you that Lobster has fetched latest valeus from RemoteConfig.

    Declaration

    Swift

    func fetched() -> AnyPublisher<Void, Error>

    Return Value

    A publisher <Void, Error>

  • Returns Publisher that gives you a value matched a config key after fetching from RemoteConfig.

    Declaration

    Swift

    func fetched<T>(_ key: ConfigKey<T>) -> AnyPublisher<T.Value, Never> where T : ConfigSerializable

    Return Value

    A publisher <T.Value, Never>

  • Returns Publisher that gives you an optional value matched a config key after fetching from RemoteConfig.

    Declaration

    Swift

    func fetched<T>(_ key: ConfigKey<T?>) -> AnyPublisher<T.Value?, Never> where T : ConfigSerializable

    Return Value

    A publisher <T.Value?, Never>

  • Returns Publisher that gives you a value matched a config key after fetching from RemoteConfig.

    Declaration

    Swift

    func fetched<T>(_ key: DecodableConfigKey<T>) -> AnyPublisher<T.Value, Never> where T : ConfigSerializable, T : Decodable

    Return Value

    A publisher <T.Value, Never>

  • Returns Publisher that gives you an optional value matched a config key after fetching from RemoteConfig.

    Declaration

    Swift

    func fetched<T>(_ key: DecodableConfigKey<T?>) -> AnyPublisher<T.Value?, Never> where T : ConfigSerializable, T : Decodable

    Return Value

    A publisher <T.Value?, Never>

  • Returns Publisher that gives you a value matched a config key after fetching from RemoteConfig.

    Declaration

    Swift

    func fetched<T>(_ key: CodableConfigKey<T>) -> AnyPublisher<T.Value, Never> where T : ConfigSerializable, T : Decodable, T : Encodable

    Return Value

    A publisher <T.Value, Never>

  • Returns Publisher that gives you an optional value matched a config key after fetching from RemoteConfig.

    Declaration

    Swift

    func fetched<T>(_ key: CodableConfigKey<T?>) -> AnyPublisher<T.Value?, Never> where T : ConfigSerializable, T : Decodable, T : Encodable

    Return Value

    A publisher <T.Value?, Never>