All Projects → tunnckoCore → is-async-function

tunnckoCore / is-async-function

Licence: MIT license
Is this a native `async function`?

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to is-async-function

of
🍬 Promise wrapper with sugar 🍬
Stars: ✭ 13 (-23.53%)
Mutual labels:  await, async-await
P Map
Map over promises concurrently
Stars: ✭ 639 (+3658.82%)
Mutual labels:  await, async-await
kbio
Another Async IO Framework based on io_uring
Stars: ✭ 54 (+217.65%)
Mutual labels:  await, async-await
P Iteration
Utilities that make array iteration easy when using async/await or Promises
Stars: ✭ 337 (+1882.35%)
Mutual labels:  await, async-await
Asyncex
A helper library for async/await.
Stars: ✭ 2,794 (+16335.29%)
Mutual labels:  await, async-await
awesome-dotnet-async
A curated list of awesome articles and resources to learning and practicing about async, threading, and channels in .Net platform. 😉
Stars: ✭ 84 (+394.12%)
Mutual labels:  await, async-await
Concurrencpp
Modern concurrency for C++. Tasks, executors, timers and C++20 coroutines to rule them all
Stars: ✭ 340 (+1900%)
Mutual labels:  await, async-await
await-generator
A library to use async/await in PHP using generators.
Stars: ✭ 80 (+370.59%)
Mutual labels:  await, async-await
Use Async Effect
🏃 Asynchronous side effects, without the nonsense
Stars: ✭ 193 (+1035.29%)
Mutual labels:  await, async-await
Await Handler
Basic wrapper for await that allows handling of errors without try/catch blocks
Stars: ✭ 13 (-23.53%)
Mutual labels:  await, async-await
Swiftcoroutine
Swift coroutines for iOS, macOS and Linux.
Stars: ✭ 690 (+3958.82%)
Mutual labels:  await, async-await
Await Of
await wrapper for easier errors handling without try-catch
Stars: ✭ 240 (+1311.76%)
Mutual labels:  await, async-await
Coerce Rs
Coerce - an asynchronous (async/await) Actor runtime and cluster framework for Rust
Stars: ✭ 231 (+1258.82%)
Mutual labels:  await, async-await
parse-function
(!! moved to tunnckoCore/opensource multi-package repository !!) 🔱 Parse a function into an object using espree, acorn or babylon parsers. Extensible through Smart Plugins.
Stars: ✭ 37 (+117.65%)
Mutual labels:  function, async-await
skeleton-loader
Loader module for webpack to execute your custom procedure. It works as your custom loader.
Stars: ✭ 19 (+11.76%)
Mutual labels:  function
remote-func
🦊 JavaScript as the query language for your API
Stars: ✭ 13 (-23.53%)
Mutual labels:  function
async-preloader
Assets preloader using ES2017 async/await and fetch.
Stars: ✭ 44 (+158.82%)
Mutual labels:  async-await
retryx
Promise-based retry workflow library.
Stars: ✭ 21 (+23.53%)
Mutual labels:  async-await
conquerant
lightweight async/await for Clojure
Stars: ✭ 31 (+82.35%)
Mutual labels:  async-await
eslint-config-marine
🐬 Typescript ESLint shareable config
Stars: ✭ 16 (-5.88%)
Mutual labels:  async-await

is-async-function Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Is this a native async function?

Example

var isAsyncFunction = require('is-async-function');
assert(!isAsyncFunction(function () {}));
assert(!isAsyncFunction(null));
assert(!isAsyncFunction(function* () { yield 42; return Infinity; }));
assert(isAsyncFunction(async function () {}));

Tests

Simply clone the repo, npm install, and run npm test

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].