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

How do I pass variables to workers/tasks? #8

Closed
m3ll-0 opened this issue Feb 9, 2018 · 1 comment
Closed

How do I pass variables to workers/tasks? #8

m3ll-0 opened this issue Feb 9, 2018 · 1 comment

Comments

@m3ll-0
Copy link

m3ll-0 commented Feb 9, 2018

When I retrieve data on callback from a worker I want to pass that to a separate task i.e. to perform a database query but I don't know how to pass that to the task.

For example:
$this->task("SendToDatabaseTask", $someArray);

Any idea? Thank you.

Edit: I am retarded, I found it.

@m3ll-0 m3ll-0 closed this as completed Feb 9, 2018
@phuze
Copy link

phuze commented May 22, 2018

How did you consume the passed arguments in your tasks?

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

2 participants