usernameof this input is stored in React component state.
usernamechanges, the new username is passed to the stream. Any blank strings are filtered from the stream, and then the usernames are debounced for one second.
USER_FOUNDis output; if no user is found, an effect with type
availablestate appropriately depending on the effect's type.