@yume-chan/adb
Version:
TypeScript implementation of Android Debug Bridge (ADB) protocol.
13 lines • 416 B
JavaScript
/* #__NO_SIDE_EFFECTS__ */
export const NOOP = () => {
// no-op
};
/**
* When used in `Promise#catch`, means the promise should never throw errors.
* An explicit way to suppress ESLint floating promise warnings.
*/
export function unreachable(...args) {
// Trigger runtime's unhandled rejection event.
throw new Error("Unreachable. Arguments:\n" + args.join("\n"));
}
//# sourceMappingURL=no-op.js.map