Receiver
Receiver copied to clipboard
Nested observer
In this situation:
receiver.listen { _ in
receiver.listen { _ in
print("foo bar")
}
}
Receiver
will deadlock, if I am not mistaken because of os_unfair_lock_t
. Any hints/suggestions on this would be awesome. 🙈
Hello, I've just encountered this very issue. Is there any way to get around this by maybe using dispatch queues? Thank you!
Hey @din, this is something I should have fixed a while back. @andersio gave me an idea some time ago.