@godgiven/fetch
v0.3.1
Published
Typescript/Javascript fetch
Downloads
1
Readme
@godgiven/signal
A library for communicate packages with together. you can install signal with:
yarn add @godgiven/signal
Uses
import { dispatchSignal } from '@godgiven/signal';
declare global
{
interface SignalList
{
readonly test: string;
}
}
void dispatchSignal('test', 'Every thing is ok');
console.log(getSignalValue('test') ?? 'Every thing is bad');