Skip to content

Conversation

@Acconut
Copy link
Contributor

@Acconut Acconut commented Dec 17, 2024

The documentation says to use options.wait.type to control the wait method, but the code and type definitions use options.wait.mode:

const { wait = { mode: "block" }, signal, ...data } = options;

wait?:
| { mode: "block"; interval?: number; timeout?: number }
| { mode: "poll"; interval?: number };

Copy link
Contributor

@aron aron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you :)

@aron aron merged commit 720f786 into replicate:main Mar 26, 2025
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 this pull request may close these issues.

2 participants