Skip to content

Conversation

Oni-zerone
Copy link

@Oni-zerone Oni-zerone commented May 18, 2023

Maybe someone could find this interesting?
Just a way to subscribe a KeyValue path to a publisher in one line, having the possibility also to specify the Scheduler that you want to use.

Just an use example:

    let titleRelay = CurrentValueRelay("Await")
    awaitLabel
        .subscribe(\.text, to: titleRelay)
        .store(in: &cancellables)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant