UNPKG

@synerty/vortexjs

Version:

Custom observable data serialisation and routing based on Angular 2+

11 lines (8 loc) 303 B
/// <reference lib="webworker" /> import registerWebworker from 'webworker-promise/lib/register'; registerWebworker(async (vortexStrParam, emit) => { const vortexStr: any = vortexStrParam; // noinspection UnnecessaryLocalVariableJS const jsonStr = atob(vortexStr); return jsonStr; });