So here's my use case: I have an async task wrapped in a Signal<String, NSError>
that effectively executes once, and is no longer relevant (one-shot, essentially).
I'd like to observe or bind the output of this to a text field in my UI, but I can't see a way to do this that doesn't involve hanging on to a reference to the Signal's disposable and manually disposing it myself once the task has completed.
Is there a simpler way of doing this? Ideally there'd be a way to make the Signal release itself when it completes.
I feel like I'm missing something conceptually here.