* Appends `actions` to the end of the current sequence for the given * `device`. If device synchronization is enabled, after inserting the * actions, pauses will be inserted for all other devices to ensure all action * sequences are the same length. * * @param {!Device} device the dev
(device, ...actions)
| 651 | * @return {!Actions} a self reference. |
| 652 | */ |
| 653 | insert(device, ...actions) { |
| 654 | this.sequence_(device).push(...actions) |
| 655 | return this.sync_ ? this.synchronize() : this |
| 656 | } |
| 657 | |
| 658 | /** |
| 659 | * Ensures the action sequence for every device referenced in this action |