{"modulePath":"github.com/pencode-labs/pencode","version":"v0.1.0-rc.15","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package output\n\nPackage output retains bounded, named output streams shared by the workbench and extension workers. Idle reads and writes after warm-up do not allocate.\n\n## Constants\n\n```go\nconst Capacity = 64 * 1024\n```\n\n## Functions\n\n```go\nfunc WithStore(ctx context.Context, store *Store) context.Context\n```\n\n## Types\n\n```go\ntype Channel struct {\n\tName string\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (c *Channel) Clear()\n```\n\n```go\nfunc (c *Channel) Snapshot() (string, uint64)\n```\n\n```go\nfunc (c *Channel) Write(p []byte) (int, error)\n```\n\n```go\ntype Store struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc FromContext(ctx context.Context) *Store\n```\n\n```go\nfunc (s *Store) Channel(name string) *Channel\n```\n\n```go\nfunc (s *Store) Channels(dst []*Channel) []*Channel\n```\nChannels reuses the caller's slice; channels have stable identity and order.\n\n```go\nfunc (s *Store) Revision() uint64\n```\n\n```go\nfunc (s *Store) SetWake(wake func())\n```\n\n","path":"github.com/pencode-labs/pencode/output","name":"output","synopsis":"Package output retains bounded, named output streams shared by the workbench and extension workers.","isRedistributable":true}
