We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
runAsync
1 parent 941cd70 commit 304ec5bCopy full SHA for 304ec5b
packages/core/src/Controller.ts
@@ -136,6 +136,7 @@ export class Controller<State extends Lookup = Lookup>
136
stop(keys?: OneOrMore<string>) {
137
if (is.und(keys)) {
138
this.each(spring => spring.stop())
139
+ cancelAsync(this._state, this._lastAsyncId)
140
} else {
141
const springs = this.springs as Lookup<SpringValue>
142
each(toArray(keys), key => springs[key].stop())
0 commit comments