Skip to content

Add once support to IStream - #74

Open
ChrisWozniak wants to merge 1 commit into
smartcontractkit:mainfrom
ChrisWozniak:fix-61-istream-once
Open

ChrisWozniak wants to merge 1 commit into
smartcontractkit:mainfrom
ChrisWozniak:fix-61-istream-once

Conversation

@ChrisWozniak

Copy link
Copy Markdown

Fixes #61

Summary

  • Expose the existing EventEmitter once capability through the public IStream interface for report events.
  • Add regression coverage that verifies the IStream type and one-time listener behavior.

Validation

  • npx jest tests/unit/stream/stream/events.test.ts --runInBand (5 pass)
  • npm run test:unit (19 suites, 390 tests passed)
  • npx tsc --noEmit
  • npm run lint
  • npx prettier --check src/types/client.ts tests/unit/stream/stream/events.test.ts

Formatting baseline

The repository-wide npm run format:check reports CRLF formatting on 63 existing TypeScript files in this Windows checkout. The two changed files pass the scoped Prettier check; no unrelated formatting rewrite is included.

Scope

No runtime behavior, dependency, generator, example, or documentation changes.

@ChrisWozniak
ChrisWozniak requested a review from a team as a code owner September 12, 2026 03:35

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add 'once' support

2 participants