@socketsupply/socket
Version:
A Cross-Platform, Native Runtime for Desktop and Mobile Apps — Create apps using HTML, CSS, and JavaScript. Written from the ground up to be small and maintainable.
16 lines (13 loc) • 430 B
JavaScript
/**
* @module signal
* @deprecated Use `socket:process/signal` instead.
*/
import signal from './process/signal.js'
export * from './process/signal.js'
export default signal
// XXX(@jwerle): we should probably use a standard `deprecated()` function
// like nodejs' `util.deprecate()` instead of `console.warn()`
console.warn(
'The module "socket:signal" is deprecated. ' +
'Please use "socket:process/signal" instead"'
)