{"id":18062887,"url":"https://github.com/stagas/fluent-event","last_synced_at":"2025-07-05T20:13:19.656Z","repository":{"id":57686364,"uuid":"469938037","full_name":"stagas/fluent-event","owner":"stagas","description":"Fluent DOM event toolkit.","archived":false,"fork":false,"pushed_at":"2022-04-16T16:14:11.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-11T23:15:01.247Z","etag":null,"topics":["debounce","dom","event","fluent","queue","raf"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stagas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-14T23:29:54.000Z","updated_at":"2022-04-09T09:03:04.000Z","dependencies_parsed_at":"2022-09-14T07:11:49.472Z","dependency_job_id":null,"html_url":"https://github.com/stagas/fluent-event","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":"stagas/ts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stagas%2Ffluent-event","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stagas%2Ffluent-event/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stagas%2Ffluent-event/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stagas%2Ffluent-event/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stagas","download_url":"https://codeload.github.com/stagas/fluent-event/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247340079,"owners_count":20923189,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["debounce","dom","event","fluent","queue","raf"],"created_at":"2024-10-31T05:08:47.430Z","updated_at":"2025-04-05T13:22:26.851Z","avatar_url":"https://github.com/stagas.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003e\nfluent-event \u003ca href=\"https://npmjs.org/package/fluent-event\"\u003e\u003cimg src=\"https://img.shields.io/badge/npm-v2.0.1-F00.svg?colorA=000\"/\u003e\u003c/a\u003e \u003ca href=\"src\"\u003e\u003cimg src=\"https://img.shields.io/badge/loc-111-FFF.svg?colorA=000\"/\u003e\u003c/a\u003e \u003ca href=\"https://cdn.jsdelivr.net/npm/fluent-event@2.0.1/dist/fluent-event.min.js\"\u003e\u003cimg src=\"https://img.shields.io/badge/brotli-459b-333.svg?colorA=000\"/\u003e\u003c/a\u003e \u003ca href=\"LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-F0B.svg?colorA=000\"/\u003e\u003c/a\u003e\n\u003c/h1\u003e\n\n\u003cp\u003e\u003c/p\u003e\n\nFluent DOM event toolkit.\n\n\u003ch4\u003e\n\u003ctable\u003e\u003ctr\u003e\u003ctd title=\"Triple click to select and copy paste\"\u003e\n\u003ccode\u003enpm i fluent-event \u003c/code\u003e\n\u003c/td\u003e\u003ctd title=\"Triple click to select and copy paste\"\u003e\n\u003ccode\u003epnpm add fluent-event \u003c/code\u003e\n\u003c/td\u003e\u003ctd title=\"Triple click to select and copy paste\"\u003e\n\u003ccode\u003eyarn add fluent-event\u003c/code\u003e\n\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\u003c/h4\u003e\n\n## API\n\n\u003cp\u003e  \u003cdetails id=\"EventListener$6\" title=\"TypeAlias\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#EventListener$6\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003eEventListener\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e  \u003ca href=\"src/event.ts#L3\"\u003esrc/event.ts#L3\u003c/a\u003e  \u003cul\u003e\u003cp\u003e\u003cdetails id=\"__type$7\" title=\"Function\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#__type$7\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003cem\u003e(this, event)\u003c/em\u003e    \u003c/summary\u003e    \u003cul\u003e    \u003cp\u003e    \u003cdetails id=\"this$9\" title=\"Parameter\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#this$9\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003ethis\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e    \u003cul\u003e\u003cp\u003e\u003ca href=\"#T$12\"\u003eT\u003c/a\u003e\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"event$10\" title=\"Parameter\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#event$10\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003eevent\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e    \u003cul\u003e\u003cp\u003e\u003ca href=\"#E$11\"\u003eE\u003c/a\u003e\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e  \u003cp\u003e\u003cstrong\u003e\u003c/strong\u003e\u003cem\u003e(this, event)\u003c/em\u003e  \u0026nbsp;=\u0026gt;  \u003cul\u003eany\u003c/ul\u003e\u003c/p\u003e\u003c/p\u003e    \u003c/ul\u003e\u003c/details\u003e\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"Fn$52\" title=\"TypeAlias\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#Fn$52\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003eFn\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e  \u003ca href=\"src/types.ts#L1\"\u003esrc/types.ts#L1\u003c/a\u003e  \u003cul\u003e\u003cp\u003e\u003cdetails id=\"__type$53\" title=\"Function\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#__type$53\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003cem\u003e(args)\u003c/em\u003e    \u003c/summary\u003e    \u003cul\u003e    \u003cp\u003e    \u003cdetails id=\"args$55\" title=\"Parameter\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#args$55\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003eargs\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e    \u003cul\u003e\u003cp\u003e\u003ca href=\"#P$56\"\u003eP\u003c/a\u003e\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e  \u003cp\u003e\u003cstrong\u003e\u003c/strong\u003e\u003cem\u003e(args)\u003c/em\u003e  \u0026nbsp;=\u0026gt;  \u003cul\u003e\u003ca href=\"#R$57\"\u003eR\u003c/a\u003e\u003c/ul\u003e\u003c/p\u003e\u003c/p\u003e    \u003c/ul\u003e\u003c/details\u003e\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"debounce$1\" title=\"Function\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#debounce$1\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003edebounce\u003c/strong\u003e\u003c/code\u003e\u003cem\u003e()\u003c/em\u003e     \u0026ndash; Decorate function \u003ccode\u003efn\u003c/code\u003e with debounce delay \u003ccode\u003ems\u003c/code\u003e.\u003c/summary\u003e  \u003ca href=\"src/debounce.ts#L22\"\u003esrc/debounce.ts#L22\u003c/a\u003e  \u003cul\u003e    \u003cp\u003e  \u003cp\u003e\n\nFlags: `first` =\u003e run `fn` first, then debounce\n\n```ts\nfn = (x: number) =\u003e console.log(x)\n// =\u003e runs `fn` after 100ms following last call\ncb = debounce()(fn, 100)\ncb(1)\ncb(2) // \u003c- cb(2) wins, prints `2`\n\n// =\u003e runs `fn` first then debounces until 100ms of inactivity\ncb = debounce().first(fn, 100)\ncb(1) // \u003c- cb(1) wins, prints `1`\ncb(2)\n```\n\n\u003c/p\u003e\n    \u003cp\u003e\u003cstrong\u003edebounce\u003c/strong\u003e\u003cem\u003e()\u003c/em\u003e  \u0026nbsp;=\u0026gt;  \u003cul\u003e\u003cspan\u003eFluent\u003c/span\u003e\u0026lt;\u003cdetails id=\"__type$3\" title=\"Function\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#__type$3\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003cem\u003e(args)\u003c/em\u003e    \u003c/summary\u003e    \u003cul\u003e    \u003cp\u003e    \u003cdetails id=\"args$5\" title=\"Parameter\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#args$5\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003eargs\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e    \u003cul\u003e\u003cp\u003eany  []\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e  \u003cp\u003e\u003cstrong\u003e\u003c/strong\u003e\u003cem\u003e(args)\u003c/em\u003e  \u0026nbsp;=\u0026gt;  \u003cul\u003eany\u003c/ul\u003e\u003c/p\u003e\u003c/p\u003e    \u003c/ul\u003e\u003c/details\u003e, \u003cspan\u003eFlags\u003c/span\u003e\u0026lt;\u003ccode\u003e\"first\"\u003c/code\u003e\u0026gt;\u0026gt;\u003c/ul\u003e\u003c/p\u003e\u003c/p\u003e    \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"event$13\" title=\"Function\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#event$13\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003eevent\u003c/strong\u003e\u003c/code\u003e\u003cem\u003e()\u003c/em\u003e     \u0026ndash; Decorates event listener \u003ccode\u003efn\u003c/code\u003e.\u003c/summary\u003e  \u003ca href=\"src/event.ts#L23\"\u003esrc/event.ts#L23\u003c/a\u003e  \u003cul\u003e    \u003cp\u003e  \u003cp\u003e\n\nFlags:\n\n- `prevent` =\u003e `event.preventDefault()`\n- `stop` =\u003e `event.stopPropagation()`\n- `stop.immediate` =\u003e `event.stopImmediatePropagation()`\n\n```ts\nbtn.onclick = event()(fn)\nbtn.onclick = event().prevent(fn)\nbtn.onclick = event().prevent.stop(fn)\nbtn.onclick = event().stop.immediate(fn)\n```\n\n\u003c/p\u003e\n    \u003cp\u003e\u003cstrong\u003eevent\u003c/strong\u003e\u003cem\u003e()\u003c/em\u003e  \u0026nbsp;=\u0026gt;  \u003cul\u003e\u003cspan\u003eFluent\u003c/span\u003e\u0026lt;\u003cdetails id=\"__type$15\" title=\"Function\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#__type$15\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003cem\u003e(args)\u003c/em\u003e    \u003c/summary\u003e    \u003cul\u003e    \u003cp\u003e    \u003cdetails id=\"args$17\" title=\"Parameter\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#args$17\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003eargs\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e    \u003cul\u003e\u003cp\u003eany  []\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e  \u003cp\u003e\u003cstrong\u003e\u003c/strong\u003e\u003cem\u003e(args)\u003c/em\u003e  \u0026nbsp;=\u0026gt;  \u003cul\u003eany\u003c/ul\u003e\u003c/p\u003e\u003c/p\u003e    \u003c/ul\u003e\u003c/details\u003e, \u003cspan\u003eFlags\u003c/span\u003e\u0026lt;\u003ccode\u003e\"prevent\"\u003c/code\u003e | \u003ccode\u003e\"stop\"\u003c/code\u003e | \u003ccode\u003e\"immediate\"\u003c/code\u003e\u0026gt;\u0026gt;\u003c/ul\u003e\u003c/p\u003e\u003c/p\u003e    \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"off$23\" title=\"Function\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#off$23\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003eoff\u003c/strong\u003e\u003c/code\u003e\u003cem\u003e(el, type, listener, options)\u003c/em\u003e     \u0026ndash; Removes an event \u003ccode\u003elistener\u003c/code\u003e of type \u003ccode\u003etype\u003c/code\u003e from \u003ccode\u003eel\u003c/code\u003e using \u003ccode\u003eoptions\u003c/code\u003e.\u003c/summary\u003e  \u003ca href=\"src/on.ts#L53\"\u003esrc/on.ts#L53\u003c/a\u003e  \u003cul\u003e    \u003cp\u003e    \u003cdetails id=\"el$27\" title=\"Parameter\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#el$27\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003eel\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e    \u003cul\u003e\u003cp\u003e\u003ca href=\"#T$25\"\u003eT\u003c/a\u003e\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"type$28\" title=\"Parameter\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#type$28\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003etype\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e    \u003cul\u003e\u003cp\u003e\u003ca href=\"#K$26\"\u003eK\u003c/a\u003e\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"listener$29\" title=\"Function\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#listener$29\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003elistener\u003c/strong\u003e\u003c/code\u003e\u003cem\u003e(ev)\u003c/em\u003e    \u003c/summary\u003e    \u003cul\u003e    \u003cp\u003e    \u003cdetails id=\"ev$32\" title=\"Parameter\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#ev$32\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003eev\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e    \u003cul\u003e\u003cp\u003e\u003cspan\u003eHTMLElementEventMap\u003c/span\u003e  [\u003ca href=\"#K$26\"\u003eK\u003c/a\u003e]\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e  \u003cp\u003e\u003cstrong\u003elistener\u003c/strong\u003e\u003cem\u003e(ev)\u003c/em\u003e  \u0026nbsp;=\u0026gt;  \u003cul\u003eany\u003c/ul\u003e\u003c/p\u003e\u003c/p\u003e    \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"options$33\" title=\"Parameter\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#options$33\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003eoptions\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e    \u003cul\u003e\u003cp\u003eboolean | \u003cspan\u003eAddEventListenerOptions\u003c/span\u003e\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e  \u003cp\u003e\u003cstrong\u003eoff\u003c/strong\u003e\u0026lt;\u003cspan\u003eT\u003c/span\u003e\u003cspan\u003e\u0026nbsp;extends\u0026nbsp;\u003c/span\u003e     \u003cspan\u003eHTMLElement\u003c/span\u003e, \u003cspan\u003eK\u003c/span\u003e\u0026gt;\u003cem\u003e(el, type, listener, options)\u003c/em\u003e  \u0026nbsp;=\u0026gt;  \u003cul\u003evoid\u003c/ul\u003e\u003c/p\u003e\u003c/p\u003e    \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"on$18\" title=\"Function\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#on$18\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003eon\u003c/strong\u003e\u003c/code\u003e\u003cem\u003e()\u003c/em\u003e     \u0026ndash; Adds a DOM event \u003ccode\u003elistener\u003c/code\u003e to an event \u003ccode\u003etype\u003c/code\u003e using \u003ccode\u003eoptions\u003c/code\u003e and returns its remover.\u003c/summary\u003e  \u003ca href=\"src/on.ts#L40\"\u003esrc/on.ts#L40\u003c/a\u003e  \u003cul\u003e    \u003cp\u003e  \u003cp\u003e\n\nFlags: `active` | `capture` | `once` | `passive`\n\n```ts\non()(btn, 'click', fn)\non().once(btn, 'click', fn)\non().passive(div, 'wheel', fn)\n\nconst off = on().passive.capture(btn, 'wheel', fn)\n// ...later...\noff() // remove listener\n```\n\n\u003c/p\u003e\n    \u003cp\u003e\u003cstrong\u003eon\u003c/strong\u003e\u003cem\u003e()\u003c/em\u003e  \u0026nbsp;=\u0026gt;  \u003cul\u003e\u003cspan\u003eFluent\u003c/span\u003e\u0026lt;\u003cdetails id=\"__type$20\" title=\"Function\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#__type$20\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003cem\u003e(args)\u003c/em\u003e    \u003c/summary\u003e    \u003cul\u003e    \u003cp\u003e    \u003cdetails id=\"args$22\" title=\"Parameter\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#args$22\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003eargs\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e    \u003cul\u003e\u003cp\u003eany  []\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e  \u003cp\u003e\u003cstrong\u003e\u003c/strong\u003e\u003cem\u003e(args)\u003c/em\u003e  \u0026nbsp;=\u0026gt;  \u003cul\u003eany\u003c/ul\u003e\u003c/p\u003e\u003c/p\u003e    \u003c/ul\u003e\u003c/details\u003e, \u003cspan\u003eFlags\u003c/span\u003e\u0026lt;\u003ccode\u003e\"active\"\u003c/code\u003e | \u003ccode\u003e\"capture\"\u003c/code\u003e | \u003ccode\u003e\"once\"\u003c/code\u003e | \u003ccode\u003e\"passive\"\u003c/code\u003e\u0026gt;\u0026gt;\u003c/ul\u003e\u003c/p\u003e\u003c/p\u003e    \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"queue$34\" title=\"Function\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#queue$34\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003equeue\u003c/strong\u003e\u003c/code\u003e\u003cem\u003e()\u003c/em\u003e     \u0026ndash; Queue.\u003c/summary\u003e  \u003ca href=\"src/queue.ts#L48\"\u003esrc/queue.ts#L48\u003c/a\u003e  \u003cul\u003e    \u003cp\u003e  \u003cp\u003e\n\nAll queue functions are also throttled to once per invocation.\n\n```ts\n// decorate function with `requestAnimationFrame`\nconst cbWithRaf = queue().raf(cb)\n\n// decorate function with `setTimeout`\nconst cbWithTimeout = queue().time(cb)\n\n// decorate function with `queueMicrotask`\nconst cbWithMicrotask = queue().task(cb)\n```\n\n\u003c/p\u003e\n    \u003cp\u003e\u003cstrong\u003equeue\u003c/strong\u003e\u003cem\u003e()\u003c/em\u003e  \u0026nbsp;=\u0026gt;  \u003cul\u003e{\u003cp\u003e  \u003cdetails id=\"raf$37\" title=\"Property\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#raf$37\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003eraf\u003c/strong\u003e\u003c/code\u003e  \u003cspan\u003e\u003cspan\u003e\u0026nbsp;=\u0026nbsp;\u003c/span\u003e  \u003ccode\u003e...\u003c/code\u003e\u003c/span\u003e  \u003c/summary\u003e    \u003cul\u003e\u003cp\u003e\u003cdetails id=\"__type$38\" title=\"Function\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#__type$38\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003cem\u003e(fn)\u003c/em\u003e    \u003c/summary\u003e    \u003cul\u003e    \u003cp\u003e    \u003cdetails id=\"fn$41\" title=\"Parameter\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#fn$41\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003efn\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e    \u003cul\u003e\u003cp\u003e\u003ca href=\"#Fn$52\"\u003eFn\u003c/a\u003e\u0026lt;\u003ca href=\"#P$40\"\u003eP\u003c/a\u003e, any\u0026gt;\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e  \u003cp\u003e\u003cstrong\u003e\u003c/strong\u003e\u0026lt;\u003cspan\u003eP\u003c/span\u003e\u0026gt;\u003cem\u003e(fn)\u003c/em\u003e  \u0026nbsp;=\u0026gt;  \u003cul\u003e\u003ca href=\"#Fn$52\"\u003eFn\u003c/a\u003e\u0026lt;\u003ca href=\"#P$40\"\u003eP\u003c/a\u003e, void\u0026gt;\u003c/ul\u003e\u003c/p\u003e\u003c/p\u003e    \u003c/ul\u003e\u003c/details\u003e\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"task$47\" title=\"Property\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#task$47\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003etask\u003c/strong\u003e\u003c/code\u003e  \u003cspan\u003e\u003cspan\u003e\u0026nbsp;=\u0026nbsp;\u003c/span\u003e  \u003ccode\u003e...\u003c/code\u003e\u003c/span\u003e  \u003c/summary\u003e    \u003cul\u003e\u003cp\u003e\u003cdetails id=\"__type$48\" title=\"Function\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#__type$48\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003cem\u003e(fn)\u003c/em\u003e    \u003c/summary\u003e    \u003cul\u003e    \u003cp\u003e    \u003cdetails id=\"fn$51\" title=\"Parameter\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#fn$51\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003efn\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e    \u003cul\u003e\u003cp\u003e\u003ca href=\"#Fn$52\"\u003eFn\u003c/a\u003e\u0026lt;\u003ca href=\"#P$40\"\u003eP\u003c/a\u003e, any\u0026gt;\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e  \u003cp\u003e\u003cstrong\u003e\u003c/strong\u003e\u0026lt;\u003cspan\u003eP\u003c/span\u003e\u0026gt;\u003cem\u003e(fn)\u003c/em\u003e  \u0026nbsp;=\u0026gt;  \u003cul\u003e\u003ca href=\"#Fn$52\"\u003eFn\u003c/a\u003e\u0026lt;\u003ca href=\"#P$40\"\u003eP\u003c/a\u003e, void\u0026gt;\u003c/ul\u003e\u003c/p\u003e\u003c/p\u003e    \u003c/ul\u003e\u003c/details\u003e\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"time$42\" title=\"Property\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#time$42\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003etime\u003c/strong\u003e\u003c/code\u003e  \u003cspan\u003e\u003cspan\u003e\u0026nbsp;=\u0026nbsp;\u003c/span\u003e  \u003ccode\u003e...\u003c/code\u003e\u003c/span\u003e  \u003c/summary\u003e    \u003cul\u003e\u003cp\u003e\u003cdetails id=\"__type$43\" title=\"Function\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#__type$43\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003cem\u003e(fn)\u003c/em\u003e    \u003c/summary\u003e    \u003cul\u003e    \u003cp\u003e    \u003cdetails id=\"fn$46\" title=\"Parameter\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#fn$46\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003efn\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e    \u003cul\u003e\u003cp\u003e\u003ca href=\"#Fn$52\"\u003eFn\u003c/a\u003e\u0026lt;\u003ca href=\"#P$40\"\u003eP\u003c/a\u003e, any\u0026gt;\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e  \u003cp\u003e\u003cstrong\u003e\u003c/strong\u003e\u0026lt;\u003cspan\u003eP\u003c/span\u003e\u0026gt;\u003cem\u003e(fn)\u003c/em\u003e  \u0026nbsp;=\u0026gt;  \u003cul\u003e\u003ca href=\"#Fn$52\"\u003eFn\u003c/a\u003e\u0026lt;\u003ca href=\"#P$40\"\u003eP\u003c/a\u003e, void\u0026gt;\u003c/ul\u003e\u003c/p\u003e\u003c/p\u003e    \u003c/ul\u003e\u003c/details\u003e\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e\u003c/p\u003e}\u003c/ul\u003e\u003c/p\u003e\u003c/p\u003e    \u003c/ul\u003e\u003c/details\u003e\u003c/p\u003e\n\n## Credits\n\n- [fluent-flags](https://npmjs.org/package/fluent-flags) by [stagas](https://github.com/stagas) \u0026ndash; Decorates a function with arbitrary fluent boolean flags and passes them as the first parameter.\n\n## Contributing\n\n[Fork](https://github.com/stagas/fluent-event/fork) or [edit](https://github.dev/stagas/fluent-event) and submit a PR.\n\nAll contributions are welcome!\n\n## License\n\n\u003ca href=\"LICENSE\"\u003eMIT\u003c/a\u003e \u0026copy; 2022 [stagas](https://github.com/stagas)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstagas%2Ffluent-event","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstagas%2Ffluent-event","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstagas%2Ffluent-event/lists"}