@ ObjectiveCName ( "findAllDocsWithPeer:" ) public Command < List < MessageSearchEntity > > findAllDocs ( Peer peer ) { return callback -> modules . getSearchModule ( ) . findAllDocs ( peer ) . then ( v -> callback . onResult ( v ) ) . failure ( e -> callback . onError ( e ) ) ; }
Finding all doc messages