We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When a false / non existing ID is given from a string it doesn't fire a error.
Example:
import { Peer } from "https://esm.sh/peerjs"; let peer = new Peer(); let peerId = "112dffddff"; peerId = peerId.trim(); const conn = peer.connect(peerId); conn.on("error", (err) => { console.log(err); });
But oddly when grabbing string ie ID from my function - await term.input() from my - Termino.js library - see here
Like this: Example:
import { Peer } from "https://esm.sh/peerjs"; let peer = new Peer(); let peerId = await term.input() const conn = peer.connect(peerId); conn.on("error", (err) => { console.log(err); });
It does fire....
No response
Events to fire correctly.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Please, check for existing issues to avoid duplicates.
What happened?
When a false / non existing ID is given from a string it doesn't fire a error.
Example:
But oddly when grabbing string ie ID from my function - await term.input() from my - Termino.js library - see here
Like this:
Example:
It does fire....
How can we reproduce the issue?
No response
What do you expected to happen?
Events to fire correctly.
Environment setup
Is this a regression?
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: