UNPKG
rvx
Version:
latest (22.4.1)
22.4.1
22.4.0
22.3.0
22.2.5
22.2.4
22.2.3
22.2.2
22.2.1
22.2.0
22.1.0
22.0.0
21.1.0
21.0.1
21.0.0
20.2.2
20.2.1
20.2.0
20.1.0
20.0.3
20.0.2
20.0.1
20.0.0
19.7.0
19.6.2
19.6.1
19.6.0
19.5.1
19.4.3
19.4.2
19.4.1
19.4.0
19.3.0
19.2.4
19.2.3
19.2.2
19.2.1
19.2.0
19.1.0
19.0.2
19.0.1
19.0.0
18.12.1
18.12.0
18.11.0
18.10.2
18.10.1
18.10.0
18.9.0
18.8.1
18.8.0
18.7.3
18.7.2
18.7.1
18.7.0
18.6.9
18.6.8
18.6.7
18.6.6
18.6.5
18.6.4
18.6.3
18.6.2
18.6.1
18.6.0
18.5.1
18.5.0
18.4.0
18.3.2
18.3.1
18.3.0
18.2.0
18.1.0
18.0.1
18.0.0
17.2.3
17.2.2
17.2.1
17.2.0
17.1.0
17.0.1
17.0.0
16.2.1
16.2.0
16.1.5
16.1.4
16.1.3
16.1.2
16.1.1
16.1.0
16.0.3
16.0.2
16.0.1
1.0.0-next.2
1.0.0-next.1
1.0.0-next.0
1.0.0-alpha.4
1.0.0-alpha.3
1.0.0-alpha.2
1.0.0-alpha.1
1.0.0-alpha.0
A signal based rendering library
mxjp.github.io/rvx
mxjp/rvx
rvx
/
dist
/
es
/
test
/
run-sync.js
12 lines
•
264 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
{ captureSelf }
from
"../core/lifecycle.js"
;
export
function
runTest
(
fn
) {
return
captureSelf
(
dispose
=>
{
try
{
return
fn
(); }
finally
{
dispose
(); } }); }
//# sourceMappingURL=run-sync.js.map