Doc autogenerated from onflow/sdk/src/decode/decode-stream.ts
decodeStream
Import
_10import { decodeStream } from "@onflow/sdk"
Parameters
stream
- Type:
StreamConnection
decodeResponse
- Type:
DecodeResponseFn
_10type DecodeResponseFn = (_10 response: Record<string, any>,_10 customDecoders?: Record<string, any>_10) => Promise<any>
customDecoders
(optional)
- Type:
Record<string, any>