func NewFeed
NewFeed creates a new static feed.
NewFeed creates a new static feed.
NewSingleValueFeed is a convenience function for creating a static feed that autocommits a value after a single ingestion.
Feed is a static feed.
ID returns the feed's ID.
Ingest ingests a message into the feed. It either adds the value to the ingester's pending values or commits the value to the storage.
IsActive returns true if the feed is accepting ingestion requests from agents.
MarshalJSON marshals the components of the feed that are needed for an agent to execute tasks and send values for ingestion.
Tasks returns the feed's tasks. This allows task consumers to extract task contents without having to marshal the entire feed.
Type returns the feed's type.
Value returns the feed's latest value, it's data type, and whether or not it can be safely consumed. In this case it uses `f.isLocked` because, this being a static feed, it will only ever have one value; once that value is committed the feed is locked and there is a valid, non-empty value to consume.