Skip to content

Docs - How to access module owner #3229

@bfops

Description

@bfops

Document this behavior:

#[spacetimedb::reducer(init)]
pub fn init(ctx: &ReducerContext) {
    log::info!("module owner: {}", ctx.sender);
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions