UNPKG

@busy-hour/blaze

Version:

<h1 align='center'>🔥 Blaze</h1> <div align='center'> An event driven framework for 🔥 Hono.js </div>

12 lines (11 loc) • 428 B
import type { RecordUnknown } from '../types/common'; import type { Event } from '../types/event'; import type { CreateEventOption } from '../types/service'; export declare class BlazeServiceEvent { readonly serviceName: string; readonly eventName: string; readonly event: Event; private readonly validator; constructor(options: CreateEventOption); eventHandler(body: RecordUnknown): Promise<unknown>; }