- Observable Workers in Angular
- ✅ Part 1 - Intro
- ✅ Part 2 - Real world usage of Observable worker - full text search on books from Project Gutenberg
- ✅ Part 3 - Parallel computation in the browser with observable worker pool
- 💡Part 4 - Transferable objects for high performance workers - Floyd–Steinberg dithering
- Embedme
- 💡Complex Typescript types:
interface Foo {
stringVal: string;
arrayVal: string[];
arrayVal2: string[];
}
type KeysWithType<T, V> = {
[K in keyof T]: T[K] extends V ? K : never
}[keyof T];
type ArrayPropertyOf<T> = KeysWithType<T, Array<any>>;
const foo: ArrayPropertyOf<Foo> = 'stringVal';