dfinity / motoko

Simple high-level language for writing Internet Computer canisters

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Streaming Chunks From A Canister

wirapratamaz opened this issue · comments

Hey there, I'm running into an issue where my stream callback isn't picking up changes to a blob that's supposed to update on a timer. It streams the initial blob just fine, but after that, it doesn't seem to notice when the blob's content changes. I'm using motoko on (https://github.com/dfinity/motoko/releases/tag/0.11.1) version. Any ideas on why this might be happening or how to fix it? Thanks!

Did you set up the timer as a recurring timer? Otherwise it just fires once.

It might be better to ask this as a question on the forum, with bits of relevant code.

Alright sir I already setup timer as a recurring timer