You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
where $ref is a reference to the calling class. I wanted to pass $ref inside the task through the constructor, but it was saying that the class is not serializable, so I tried to pass only the function inside, but it still won't run. How is Task supposed to be used?
The text was updated successfully, but these errors were encountered:
because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.
I can't run a function from Inside the
Task
:I have this simple task:
and I'm trying to use it like that:
where
$ref
is a reference to the calling class. I wanted to pass$ref
inside the task through the constructor, but it was saying that the class is not serializable, so I tried to pass only the function inside, but it still won't run. How isTask
supposed to be used?The text was updated successfully, but these errors were encountered: