Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/effector/packages/effector/index.d.ts>EventCallable

Business logic with ease ☄️
Latest
interface EventCallable
import { type EventCallable } from "https://deno.land/x/effector@effector%4023.2.2/packages/effector/index.d.ts";

The function you can call to trigger an event.

Call Signatures

(payload: Payload): Payload
(this: IfUnknown<Payload, void, Payload extends void ? void : `Error: Expected 1 argument, but got 0`>, payload?: Payload): void

Properties

kind: "event"

Methods

prepend<Before = void>(fn: (_: Before) => Payload): EventCallable<Before>