* Releases all keys, pointers, and clears internal state. * * @return {!Promise } a promise that will resolve when finished * clearing all action state.
()
| 958 | * clearing all action state. |
| 959 | */ |
| 960 | clear() { |
| 961 | for (const s of this.sequences_.values()) { |
| 962 | s.length = 0 |
| 963 | } |
| 964 | return this.executor_.execute(new Command(Name.CLEAR_ACTIONS)) |
| 965 | } |
| 966 | |
| 967 | /** |
| 968 | * Performs the configured action sequence. |