MCPcopy Create free account
hub / github.com/clockwork-xyz/examples / initialize

Function initialize

event_stream/programs/event_stream/src/lib.rs:15–17  ·  view source on GitHub ↗
(ctx: Context<Initialize>, thread_id: Vec<u8>)

Source from the content-addressed store, hash-verified

13 use super::*;
14
15 pub fn initialize(ctx: Context<Initialize>, thread_id: Vec<u8>) -> Result<()> {
16 initialize::handler(ctx, thread_id)
17 }
18
19 pub fn reset(ctx: Context<Reset>) -> Result<()> {
20 initialize::reset(ctx)

Callers

nothing calls this directly

Calls 1

handlerFunction · 0.50

Tested by

no test coverage detected