I hereby claim:
- I am barklund on github.
- I am barklund (https://keybase.io/barklund) on keybase.
- I have a public key ASBSQ-WD4ZBtz7lLAikBAlhNQvOvjZT40z-pRXobUEQq2go
To claim this, I am signing this object:
function fetchWeather(services, timeout) { | |
let bestData = null; | |
const controllers = services.map(() => new AbortController()); | |
const cancelFrom = index => controllers.slice(index).map(c => c.abort()); | |
const fetches = services.map((url, index) => | |
fetch(url, {signal: controller[index].signal}) | |
.then((res) => { | |
bestData = res; | |
cancelFrom(index+1); | |
return res; |
Percentage: float(0..1) | |
Dimension: int(0..255) | |
Angle: int(0..360) | |
Color: object( | |
r: Dimension, | |
g: Dimension, | |
b: Dimension, | |
a: Percentage, | |
) | |
Stop: object( |
import { MyServiceProvider, useMyService } from './myservice'; | |
function App() { | |
return ( | |
<MyServiceProvider> | |
// more services here | |
</MyServiceProvider> | |
); | |
} |
I hereby claim:
To claim this, I am signing this object:
{ | |
"extends": "airbnb", | |
"parser": "babel-eslint", | |
"parserOptions": { | |
"ecmaVersion": 8, | |
"sourceType": "module", | |
"ecmaFeatures": { | |
"jsx": true | |
} | |
}, |
{ | |
"floors": [ | |
{ | |
"floor": 4, | |
"locations": [ | |
{ | |
"name": "Xenon", | |
"scene_type": "Performance Arts", | |
"feed_name": "Xenon", | |
"default_image": "xenon.png", |