Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Do we send the prototype task or the one returned from createTask to the event bus? #87

Unanswered
i386 asked this question in General
Discussion options

@marickvantuil shouldn't the task be returned from Google's API be the one we send via the event bus, rather than the prototype we send to the API?

At the moment it is:

$createdTask = CloudTasksApi::createTask($queueName, $task);
event((new TaskCreated)->queue($queue)->task($task));

Formerly it was

$createdTask = CloudTasksApi::createTask($queueName, $task);
event((new TaskCreated)->queue($queue)->task($createdTask));
event((new TaskCreated)->queue($queue)->task($task));
You must be logged in to vote

Replies: 0 comments

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

AltStyle によって変換されたページ (->オリジナル) /