Skip to content
New issue

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

Feature: session.prompt 提供一个手动取消等待的接口 #1074

Open
Ice-Hazymoon opened this issue Apr 16, 2023 · 0 comments
Open

Feature: session.prompt 提供一个手动取消等待的接口 #1074

Ice-Hazymoon opened this issue Apr 16, 2023 · 0 comments
Labels
feature 新特性

Comments

@Ice-Hazymoon
Copy link

Describe the problem related to the feature request

例如:

let waitMsg;

xxx().then( e => { if (waitMsg) { waitMsg.cancel() } })

waitMsg = await session.prompt();

Describe the solution you'd like

如题

Describe alternatives you've considered

No response

Additional context

No response

@Ice-Hazymoon Ice-Hazymoon added the feature 新特性 label Apr 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 新特性
Projects
None yet
Development

No branches or pull requests

1 participant