Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 426 Bytes

README.markdown

File metadata and controls

20 lines (13 loc) · 426 Bytes

fd-timeout

Build Status npm version

window.setTimeout FP-style

Installation

npm install fd-timeout --save

Usage

var timeout = require('fd-timeout');

var after2s = timeout(2000);

after2s(function() {
  alert('FP rocks');
});