HomePhabricator
Diffusion Comm 700a9fff718c

[lib] add prefix query support to context provider

Description

[lib] add prefix query support to context provider

Summary:
This implements prefix query messaging on the identity search context handler.
sendPrefixQuery add a promise to an array and then returns the promise. It then sends a websocket search query with an id.
When either a Success or Error search response type is received, the context handler will either resolve or reject promises using the id in the search response.

Depends on D10973

Test Plan: flow and console logged search results on web

Reviewers: varun, bartek, ashoat

Reviewed By: ashoat

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D11000

Details

Provenance
willAuthored on Feb 21 2024, 10:58 AM
Reviewer
ashoat
Differential Revision
D11000: [lib] add prefix query support to context provider
Parents
rCOMM591f7251b7eb: [lib] Check for previous auth message and websocket connection state in…
Branches
Unknown
Tags
Unknown