MCPcopy Create free account
hub / github.com/WinterTC55/iter-streams / SyncOnly

Class SyncOnly

src/from.test.ts:449–453  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

447 describe('ToStreamable protocol in async context', () => {
448 it('should handle toStreamable when toAsyncStreamable not present [FROM-023]', async () => {
449 class SyncOnly {
450 [toStreamable]() {
451 return 'sync-only-data';
452 }
453 }
454
455 async function* source() {
456 yield new SyncOnly();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected