MCPcopy Create free account
hub / github.com/Effect-TS/effect / add

Method add

packages/effect/src/unstable/eventlog/EventGroup.ts:63–63  ·  view source on GitHub ↗

* Add an `Event` to the `EventGroup`.

(options: {
    readonly tag: Tag
    readonly primaryKey: (payload: Schema.Schema.Type<Payload>) => string
    readonly payload?: Payload
    readonly success?: Success
    readonly error?: Error
  })

Source from the content-addressed store, hash-verified

61 * Add an `Event` to the `EventGroup`.
62 */
63 add<
64 Tag extends string,
65 Payload extends Schema.Top = typeof Schema.Void,
66 Success extends Schema.Top = typeof Schema.Void,

Callers 4

parseHeaderMethod · 0.65
makeFunction · 0.65
makeIndexedDbFunction · 0.65
layerRpcHandlersFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected