MCPcopy Index your code
hub / github.com/Effect-TS/effect / add

Method add

packages/experimental/src/EventGroup.ts:50–50  ·  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

48 * Add an `Event` to the `EventGroup`.
49 */
50 add<
51 Tag extends string,
52 Payload extends Schema.Schema.Any = typeof Schema.Void,
53 Success extends Schema.Schema.Any = typeof Schema.Void,

Callers 9

Machine.test.tsFile · 0.65
makeIndexedDbFunction · 0.65
RequestResolver.tsFile · 0.65
unsafeRegisterFunction · 0.65
PersistedQueue.tsFile · 0.65
groupFunction · 0.65
Redis.tsFile · 0.65
machine.tsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected