1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

add support for autocomplete delay

This commit is contained in:
Aviral Dasgupta
2017-02-20 19:26:40 +05:30
parent 2d39b25334
commit 32dd89774e
4 changed files with 24 additions and 6 deletions

View File

@@ -43,7 +43,7 @@ export async function getCompletions(query: string, selection: SelectionRange, f
PROVIDERS.map(provider => {
return Q(provider.getCompletions(query, selection, force))
.timeout(PROVIDER_COMPLETION_TIMEOUT);
})
}),
);
return completionsList