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

feat: Remove delay from examples #64

Merged
merged 1 commit into from
May 29, 2024
Merged

feat: Remove delay from examples #64

merged 1 commit into from
May 29, 2024

Conversation

ddeboer
Copy link
Member

@ddeboer ddeboer commented May 28, 2024

Keep the delay param (for now) but remove it from the example
config and the example in the docs.

Ref #52

@@ -27,7 +27,7 @@ class Iterator extends EventEmitter {
private readonly query: SelectQuery;
public readonly endpoint: Endpoint;
private readonly engine: QueryEngine;
private readonly delay: number | undefined;
private readonly delay: number = 0;
Copy link
Member Author

@ddeboer ddeboer May 28, 2024

Choose a reason for hiding this comment

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

Keep types simple if we can: no union type needed here (| undefined) so remove it.

@ddeboer ddeboer requested a review from mightymax May 28, 2024 12:29
@ddeboer ddeboer merged commit 141f82d into main May 29, 2024
1 check passed
@ddeboer ddeboer deleted the remove-delay-config branch May 29, 2024 07:40
Copy link

🎉 This PR is included in version 1.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

1 participant