Skip to content

It seems that when a flag is off the async sequence/publisher emits constantly #145

Open

Description

@ryanbooker

e.g.

for await value in flagPole.$someFlag {
  // This fires infinity times
}

I might have a look later. Just documenting the behaviour here, if you happen to already be in there poking around. :)

Activity

  1. bok- commented on Jan 5, 2026

    @bok-
    Contributor

    Hey Ryan,

    When you say the flag is off, does that mean it is a boolean flag set to false, or its at the default value and not overridden by a source?

  2. ryanbooker commented on Jan 5, 2026

    @ryanbooker
    Author

    I think default. Let me check.

    Both when unset/default and explicitly false. You can see it in that Flags demo app if you delete removeDuplicates() from ConfigRoot.swift:82.

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions