Skip to content

Instantly share code, notes, and snippets.

@theKashey
Created March 29, 2018 06:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save theKashey/a2e9f1247ac826187ad677218e290ea2 to your computer and use it in GitHub Desktop.
Save theKashey/a2e9f1247ac826187ad677218e290ea2 to your computer and use it in GitHub Desktop.
SkyNet rocket launch
import {theDay} from 'doom-scheduler'
import {Launch} from './rocket-silo';
theDay
.then(Launch)
.then( () => alert(' :) '),
() => alert(' :( next time, you know...');
import SkyNetCore from './core';
export const Launch = () => SkyNetCore.hackRockets().then(rocket => rocket.launch)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment