UNPKG
background-only
Version:
latest (0.0.1)
0.0.1
This is a marker package to indicate that a module can only be used in the Background Thread.
background-only
/
error.js
5 lines
(4 loc)
•
140 B
JavaScript
View Raw
1
2
3
4
5
throw new Error( "This module cannot be imported
from
a
Main
Thread module. " + "It should only be used
from
a
Background
Thread." );