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

Require functions passed to conversation.external to return serializable values #112

Closed
Loskir opened this issue Aug 8, 2024 · 0 comments · Fixed by #122
Closed

Require functions passed to conversation.external to return serializable values #112

Loskir opened this issue Aug 8, 2024 · 0 comments · Fixed by #122

Comments

@Loskir
Copy link

Loskir commented Aug 8, 2024

async external<F extends (...args: any[]) => any, I = any>(

Would be cool on a type level if possible. If not — return serialized and unserialized values so that the user notices it in runtime (and so that it's consistent between initial run and replays). Or maybe show a warning / throw an error if the value is not serializable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant