Skip to content

Instantly share code, notes, and snippets.

View Wroud's full-sized avatar
😶‍🌫️

Alexey Potsetsuev Wroud

😶‍🌫️
View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>sd</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script>
<script src="./suite.js"></script>
</head>
<body>
<h1>Open the console to view the results</h1>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>puk</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script>
<script src="./suite.js"></script>
</head>
<body>
<h1>Open the console to view the results</h1>
@Wroud
Wroud / index.d.ts
Last active November 27, 2018 09:27
import PubSub from '../core';
export type Atom<State> = {
(newState?: State): State,
eventType: string,
map: <NewState>(
mapper: (state: State) => NewState,
description?: string
) => Atom<NewState>,
filter: (