How can you create a signal that doesn't return any value? I just want to know when the signal has completed.
I tried using Signal<AnyObject?, NSError>
but I get a lot of type inference errors.
How can you create a signal that doesn't return any value? I just want to know when the signal has completed.
I tried using Signal<AnyObject?, NSError>
but I get a lot of type inference errors.
Copyright © 2021 Jogjafile Inc.
You should be able to simply use
Void
as the type. There is only one possible value:()
.