lib/node/context.js
/**
   * Create a new context for a RN app to attach to, we additionally provide __jetNode for
   * the counterpart RN jet code to attach to and communicate back
   */
Create a new context for a RN app to attach to, we additionally provide __jetNode for
the counterpart RN jet code to attach to and communicate back
Create a new context for a RN app to attach to we additionally provide __jetNode for the counterpart RN jet code to attach to and communicate back
create() {
    global.jet.context = createContext({
      console: consoleContext(),
      __jetNode: {
        _ready() {
          setTimeout(() => process.emit('jet-attached'), 1);
        },
        _replaceNativeTimers(nativeTiming, jsTiming) {
          timing.start(nativeTiming, jsTiming);
        },
        exposeContextProperty(key, value) {
          exposedJetProperties.push(key);
          global.jet[key] = value;
        },
      },
    });
  }
create ( ) { global . jet . context = createContext ( { console : consoleContext ( ) , __jetNode : { _ready ( ) { setTimeout ( ( ) => process . emit ( 'jet-attached' ) , 1 ) ; } , _replaceNativeTimers ( nativeTiming , jsTiming ) { timing . start ( nativeTiming , jsTiming ) ; } , exposeContextProperty ( key , value ) { exposedJetProperties . push ( key ) ; global . jet [ key ] = value ; } , } , } ) ; }
Create a new context for a RN app to attach to, we additionally provide __jetNode for
 the counterpart RN jet code to attach to and communicate back
Create a new context for a RN app to attach to we additionally provide __jetNode for the counterpart RN jet code to attach to and communicate back