Last active
March 4, 2016 00:33
-
-
Save Qata/a62411156262c2b01fb6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[[[self.gateways takeUntil:[[RACSignal empty] delay:timeout]] filter:^BOOL(NSDictionary *object) { | |
return [object[kMACAddressAccessor] caseInsensitiveCompare:mac] == NSOrderedSame; | |
}] concat:[RACSignal error:[NSError errorWithDomain:RPCErrorDomain code:ERROR_TIMEOUT userInfo:@{NSLocalizedDescriptionKey:@"Timed out while waiting for a response"}]]] take:1] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment