Skip to content

Commit 3767b0a

Browse files
committed
refactor(LayerUpdateState): add hasFinished method.
1 parent 18af800 commit 3767b0a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Layer/LayerUpdateState.js

+4
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ class LayerUpdateState {
3030
};
3131
}
3232

33+
hasFinished() {
34+
return UPDATE_STATE.FINISHED == this.state;
35+
}
36+
3337
canTryUpdate(timestamp = Date.now()) {
3438
switch (this.state) {
3539
case UPDATE_STATE.IDLE: {

0 commit comments

Comments
 (0)