MCPcopy Create free account
hub / github.com/cogentcore/core / Custom

Method Custom

events/source.go:210–216  ·  view source on GitHub ↗
(data any)

Source from the content-addressed store, hash-verified

208}
209
210func (es *Source) Custom(data any) {
211 ce := &CustomEvent{}
212 ce.Typ = Custom
213 ce.Data = data
214 ce.Init()
215 es.Deque.Send(ce)
216}

Callers 1

ToDotsMethod · 0.80

Calls 2

InitMethod · 0.65
SendMethod · 0.45

Tested by

no test coverage detected