( other: IStreamBuilder<KeyValue<K, V2>>, )
| 324 | * @param other - The other stream to join with |
| 325 | */ |
| 326 | export function leftJoin< |
| 327 | K, |
| 328 | V1 extends T extends KeyValue<infer _KT, infer VT> ? VT : never, |
| 329 | V2, |
| 330 | T, |
| 331 | >( |
| 332 | other: IStreamBuilder<KeyValue<K, V2>>, |
| 333 | ): PipedOperator<T, KeyValue<K, [V1, V2 | null]>> { |
| 334 | return join(other, `left`) as unknown as PipedOperator< |
| 335 | T, |
| 336 | KeyValue<K, [V1, V2 | null]> |
| 337 | > |
| 338 | } |
| 339 | |
| 340 | /** |
| 341 | * Joins two input streams (right join) |