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

Parameter type requirements #251

Open
ZhangChengLin opened this issue Jun 2, 2024 · 1 comment
Open

Parameter type requirements #251

ZhangChengLin opened this issue Jun 2, 2024 · 1 comment

Comments

@ZhangChengLin
Copy link

public int $requestDelay = 1;

The $requestDelay attribute is expected to support expressions, and the target needs to be a specified range of random values ​​(including non-integer numbers).


public function setDelay(int $delay): self;

The parameter type of setDelay is expected to support non-integer formats.

@ZhangChengLin
Copy link
Author

By the way, why is the default concurrency here so high?

public int $concurrency = 25,

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

No branches or pull requests

1 participant