Arquivos
Rick Waldron 8dc5651c83 Suspendable: adds class that provides a "pause" and "resume" method
We can't safely or effectively destroy objects that represent hardware or hardware states, but we need a way to temporarily prevent sensors from emitting data events. This class will move the contents of _events into a side table weakmap when pause() is called and then restore _events when resume() is called.
2021-07-06 10:49:33 -04:00

29 linhas
463 B
Plaintext

{
"esversion": 9,
"curly": true,
"eqeqeq": true,
"immed": true,
"latedef": false,
"newcap": false,
"noarg": true,
"sub": true,
"undef": true,
"boss": true,
"eqnull": true,
"node": true,
"strict": false,
"quotmark": "double",
"unused": true,
"proto": true,
"globals": {
"exports": true,
"document": true,
"$": true,
"Radar": true,
"WeakMap": true,
"window": true,
"copy": true,
"mocks": true
}
}