Skip to content

(InputPort) Update immediately when assigned a constant value #13

Open

Description

@csparker247

There are times when we want an input port's value to be assigned immediately (usually for some sort of constant value) rather than as part of a graph update. However, the syntax for this is currently weird:

writer->setFlag = true; // currently evaluated with graph.update()
writer->setFlag.post(true, true) // immediately assigned to the port's target

This proposes to always call immediate=true when assigning a constant-value to a port.


Migrated from GitLab educelab/smgl#16. Originally opened by @csparker247 on 2026-04-28.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions