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
signal
Why support `ac` instead of `signal`, for which JavaScript has methods to work with?
const p1 = $({ signal: AbortSignal.timeout(100) })`sleep 9999` // and const ac = new AbortController() const p2 = $({ signal: AbortSignal.any(AbortSignal.timeout(1000), ac.signal) })`sleep 9999` button.addEventListener('click', () => { ac.abort() })
Originally posted by @ftoh in #734 (comment)
The text was updated successfully, but these errors were encountered:
feat: support signal opt
5cad241
closes google#768 relates google#734
feat: support signal opt (#769)
e010f23
closes #768 relates #734
Successfully merging a pull request may close this issue.
Originally posted by @ftoh in #734 (comment)
The text was updated successfully, but these errors were encountered: