Skip to content

Commit 092eb8b

Browse files
comment
1 parent ce8df93 commit 092eb8b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

crates/core/src/host/module_host.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,10 @@ pub struct CallViewParams {
544544
pub view_id: ViewId,
545545
pub table_id: TableId,
546546
pub fn_ptr: ViewFnPtr,
547+
/// This is not always the same identity as `sender`.
548+
/// For subscribe and sql calls it will be.
549+
/// However for atomic view update after a reducer call,
550+
/// this will be the caller of the reducer.
547551
pub caller: Identity,
548552
pub sender: Option<Identity>,
549553
pub args: ArgsTuple,

0 commit comments

Comments
 (0)