Function
makeHandlers
(options: {
readonly group: EventGroup.AnyWithProps
readonly handlers: Record.ReadonlyRecord<string, Handlers.Item<any>>
readonly context: Context.Context<any>
})
Source from the content-addressed store, hash-verified
| 230 | } |
| 231 | |
| 232 | const makeHandlers = <Events extends Event.Any>(options: { |
| 233 | readonly group: EventGroup.AnyWithProps |
| 234 | readonly handlers: Record.ReadonlyRecord<string, Handlers.Item<any>> |
| 235 | readonly context: Context.Context<any> |
| 236 | }): Handlers<never, Events> => Object.assign(Object.create(handlersProto), options) |
| 237 | |
| 238 | /** |
| 239 | * @since 1.0.0 |
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…