Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何创建一个不返回任何值的信号?我只想知道信号何时完成。
我尝试使用Signal<AnyObject?, NSError>但我得到了很多类型推断错误。
Signal<AnyObject?, NSError>
您应该能够简单地Void用作类型。只有一个可能的值:().
Void
()