@ ObjectiveCName ( "findPeersWithQuery:" ) public Command < List < PeerSearchEntity > > findPeers ( String query ) { return callback -> modules . getSearchModule ( ) . findPeers ( query ) . then ( v -> callback . onResult ( v ) ) . failure ( e -> callback . onError ( e ) ) ; }
Finding peers by text query