Skip to content

Commit

Permalink
πŸ“– Update the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel-James committed Aug 2, 2021
1 parent d602af7 commit 50bcac0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,13 @@ foreach ( $items as $item ) {
}
```

Save and dispatch the queue:
Or directly set the queue items:

```php
$this->example_process->set_queue( $items );
```

And then save and dispatch the queue:

`$this->example_process->save( 'my-task' ')->dispatch();`

Expand Down

0 comments on commit 50bcac0

Please sign in to comment.