engine: resources: Add a reminder about events

I might want to do this some day, it could be important. Look into it.
This commit is contained in:
James Shubin
2025-05-02 00:02:12 -04:00
parent 7c77efec1d
commit cc2a235fbb

View File

@@ -115,6 +115,8 @@ func (obj *ValueRes) Cleanup() error {
func (obj *ValueRes) Watch(ctx context.Context) error {
obj.init.Running() // when started, notify engine that we're running
// XXX: Should we be using obj.init.Local.ValueWatch ?
select {
case <-ctx.Done(): // closed by the engine to signal shutdown
}