Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cameri/nostream
/ persistEvent
Method
persistEvent
src/services/payments-service.ts:227–231 ·
view source on GitHub ↗
(event: Event)
Source
from the content-addressed store, hash-verified
225
}
226
227
const
persistEvent =
async
(event: Event) => {
228
await
this.eventRepository.create(event)
229
230
return
event
231
}
232
233
const
logError = (error: Error) => logger.error(
'Unable to send notification'
, error)
234
Callers
nothing calls this directly
Calls
1
create
Method · 0.65
Tested by
no test coverage detected