Interface CompatUserLookupHandler
-
- All Implemented Interfaces:
public interface CompatUserLookupHandlerJava compatibility interface for user lookup handler.
-
-
Method Summary
-
-
Method Detail
-
handleCompatUserLookup
abstract Function0<Unit> handleCompatUserLookup(String query, Function1<List<User>, Unit> callback)
Handles user lookup by given query in suspend way. It's executed on background, so it can perform heavy operations.
- Parameters:
query- String as user input for lookup algorithm.callback- The callback to be invoked when the user lookup is completed.- Returns:
The cancel function to be invoked when the user lookup should be cancelled.
-
-
-
-