8cf8bf first comm il y a 3 ans shadowdomv1.js 77628cf8bf first comm il y a 3 ans sharedarraybuffer.js 77628cf8bf first comm il y a 3 ans sharedworkers.js 77628cf8bf first comm il y a 3 ans sni.js 77628cf8bf first comm il y a 3 ans spdy.js 77628cf8bf first comm il y a 3 ans speech-recognition.js 77628cf8bf first comm il y a 3 ans speech-synthesis.js 77628cf8bf first comm il y a 3 ans spellcheck-attribute.js 77628cf8bf first comm il y a 3 ans sql-storage.js 77628cf8bf first comm il y a 3 ans srcset.js 77628cf8bf first comm il y a 3 ans stream.js 77628cf8bf first comm il y a 3 ans streams.js 77628cf8bf first comm il y a 3 ans stricttransportsecurity.js 77628cf8bf first comm il y a 3 ans style-scoped.js 77628cf8bf first comm il y a 3 ans subresource-bundling.js 77628cf8bf first comm il y a 3 ans subresource-integrity.js 77628cf8bf first comm il y a 3 ans svg-css.js 77628cf8bf first comm il y a 3 ans svg-filters.js 77628cf8bf first comm il y a 3 ans svg-fonts.js 77628cf8bf first comm il y a 3 ans svg-fragment.js 77628cf8bf first comm il y a 3 ans svg-html.js 77628cf8bf first comm il y a 3 ans svg-html5.js 77628cf8bf first comm il y a 3 ans svg-img.js 77628cf8bf first comm il y a 3 ans svg-smil.js 77628cf8bf first comm il y a 3 ans svg.js 77628cf8bf first comm il y a 3 ans sxg.js 77628cf8bf first comm il y a 3 ans tabindex-attr.js 77628cf8bf first comm il y a 3 ans template-literals.js 77628cf8bf first comm il y a 3 ans template.js 77628cf8bf first comm il y a 3 ans temporal.js 77628cf8bf first comm il y a 3 ans testfeat.js 77628cf8bf first comm il y a 3 ans text-decoration.js 77628cf8bf first comm il y a 3 ans text-emphasis.js 77628cf8bf first comm il y a 3 ans text-overflow.js 77628cf8bf first comm il y a 3 ans text-size-adjust.js 77628cf8bf first comm il y a 3 ans text-stroke.js 77628cf8bf first comm il y a 3 ans textcontent.js 77628cf8bf first comm il y a 3 ans textencoder.js 77628cf8bf first comm il y a 3 ans tls1-1.js 77628cf8bf first comm il y a 3 ans tls1-2.js 77628cf8bf first comm il y a 3 ans tls1-3.js 77628cf8bf first comm il y a 3 ans touch.js 77628cf8bf first comm il y a 3 ans transforms2d.js 77628cf8bf first comm il y a 3 ans transforms3d.js 77628cf8bf first comm il y a 3 ans trusted-types.js 77628cf8bf first comm il y a 3 ans ttf.js 77628cf8bf first comm il y a 3 ans typedarrays.js 77628cf8bf first comm il y a 3 ans u2f.js 77628cf8bf first comm il y a 3 ans unhandledrejection.js 77628cf8bf first comm il y a 3 ans upgradeinsecurerequests.js 77628cf8bf first comm il y a 3 ans url-scroll-to-text-fragment.js 77628cf8bf first comm il y a 3 ans url.js 77628cf8bf first comm il y a 3 ans urlsearchparams.js 77628cf8bf first comm il y a 3 ans use-strict.js 77628cf8bf first comm il y a 3 ans user-select-none.js 77628cf8bf first comm il y a 3 ans user-timing.js 77628cf8bf first comm il y a 3 ans variable-fonts.js 77628cf8bf first comm il y a 3 ans vector-effect.js 77628cf8bf first comm il y a 3 ans vibration.js 77628cf8bf first comm il y a 3 ans video.js 77628cf8bf first comm il y a 3 ans videotracks.js 77628cf8bf first comm il y a 3 ans viewport-unit-variants.js 77628cf8bf first comm il y a 3 ans viewport-units.js 77628cf8bf first comm il y a 3 ans wai-aria.js 77628cf8bf first comm il y a 3 ans wake-lock.js 77628cf8bf first comm il y a 3 ans wasm.js 77628cf8bf first comm il y a 3 ans wav.js 77628cf8bf first comm il y a 3 ans wbr-element.js 77628cf8bf first comm il y a 3 ans web-animation.js 77628cf8bf first comm il y a 3 ans web-app-manifest.js 77628cf8bf first comm il y a 3 ans web-bluetooth.js 77628cf8bf first comm il y a 3 ans web-serial.js 77628cf8bf first comm il y a 3 ans web-share.js 77628cf8bf first comm il y a 3 ans webauthn.js 77628cf8bf first comm il y a 3 ans webcodecs.js 77628cf8bf first comm il y a 3 ans webgl.js 77628cf8bf first comm il y a 3 ans webgl2.js 77628cf8bf first comm il y a 3 ans webgpu.js 77628cf8bf first comm il y a 3 ans webhid.js 77628cf8bf first comm il y a 3 ans webkit-user-drag.js 77628cf8bf first comm il y a 3 ans webm.js 77628cf8bf first comm il y a 3 ans webnfc.js 77628cf8bf first comm il y a 3 ans webp.js 77628cf8bf first comm il y a 3 ans websockets.js 77628cf8bf first comm il y a 3 ans webtransport.js 77628cf8bf first comm il y a 3 ans webusb.js 77628cf8bf first comm il y a 3 ans webvr.js 77628cf8bf first comm il y a 3 ans webvtt.js 77628cf8bf first comm il y a 3 ans webworkers.js 77628cf8bf first comm il y a 3 ans webxr.js 77628cf8bf first comm il y a 3 ans will-change.js 77628cf8bf first comm il y a 3 ans woff.js 77628cf8bf first comm il y a 3 ans woff2.js 77628cf8bf first comm il y a 3 ans word-break.js 77628cf8bf first comm il y a 3 ans wordwrap.js 77628cf8bf first comm il y a 3 ans x-doc-messaging.js 77628cf8bf first comm il y a 3 ans x-frame-options.js 77628cf8bf first comm il y a 3 ans xhr2.js 77628cf8bf first comm il y a 3 ans xhtml.js 77628cf8bf first comm il y a 3 ans xhtmlsmil.js 77628cf8bf first comm il y a 3 ans xml-serializer.js 77628cf8bf first comm il y a 3 ans tum/tmt_learning - Gogs: Simplico Git Service

Ei kuvausta

Prach Pongpanich 6f337d0a21 install tailwind alpine daisyui 3 vuotta sitten
..
LICENSE 6f337d0a21 install tailwind alpine daisyui 3 vuotta sitten
README.md 6f337d0a21 install tailwind alpine daisyui 3 vuotta sitten
inflight.js 6f337d0a21 install tailwind alpine daisyui 3 vuotta sitten
package.json 6f337d0a21 install tailwind alpine daisyui 3 vuotta sitten

README.md

inflight

Add callbacks to requests in flight to avoid async duplication

USAGE

var inflight = require('inflight')

// some request that does some stuff
function req(key, callback) {
  // key is any random string.  like a url or filename or whatever.
  //
  // will return either a falsey value, indicating that the
  // request for this key is already in flight, or a new callback
  // which when called will call all callbacks passed to inflightk
  // with the same key
  callback = inflight(key, callback)

  // If we got a falsey value back, then there's already a req going
  if (!callback) return

  // this is where you'd fetch the url or whatever
  // callback is also once()-ified, so it can safely be assigned
  // to multiple events etc.  First call wins.
  setTimeout(function() {
    callback(null, key)
  }, 100)
}

// only assigns a single setTimeout
// when it dings, all cbs get called
req('foo', cb1)
req('foo', cb2)
req('foo', cb3)
req('foo', cb4)