Skip to main content
Module

x/rambda/source/tapAsync-spec.ts

Faster and smaller alternative to Ramda
Go to Latest
File
import {tapAsync, delay, composeAsync} from 'rambda'
describe('R.tapAsync', () => { it('happy', async() => { await composeAsync( tapAsync(async x => { await delay(100) x // $ExpectType any }), (x: number[]) => x.length )([1, 2]) })})