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

Add Clock block #34

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

User344
Copy link
Member

@User344 User344 commented Dec 17, 2024

A simple block with single output that periodically sends current timestamp to output port.
Support CLI, random duration and fraction of seconds:

protoflow execute Clock fixed=2
protoflow execute Clock fixed=0.5
protoflow execute Clock random=1..5
protoflow execute Clock random=0.5..1.5

I am honestly not sure how to properly do mermaid diagram so I would greatly appreciate if someone made sure it is correct or helped me fixed it if it's not.

@User344 User344 requested a review from artob as a code owner December 17, 2024 11:50
@User344 User344 added enhancement New feature or request help wanted Extra attention is needed labels Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant