An open API service indexing awesome lists of open source software.

https://github.com/codewell/defer

Wait with function execution
https://github.com/codewell/defer

Last synced: 11 days ago
JSON representation

Wait with function execution

Awesome Lists containing this project

README

          

# @codewell/defer

## Installation

```
npm install @codewell/defer
```

## Basic Usage

```JavaScript
import defer from '@codewell/defer';

const waitWithLog = defer(console.log, "Hello, World!");

waitWithLog();
// => "Hello, World!"
```