Reputation: 37366
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.
Upvotes: 0
Views: 64
Reputation: 118681
You should be able to simply use Void
as the type. There is only one possible value: ()
.
Upvotes: 1