HomeGuidesAPI Reference
HubBlogChangelogSupport ForumLog In
API Reference

Web SDK - EventProvider

Home > @rainway/web > EventProvider

EventProvider type

Helper type to constrain event provider types

Signature:

export declare type EventProvider<TEvents> = Record<Extract<keyof TEvents, string>, (...args: any) => Promise<void> | void>;