Skip to main content

Doc autogenerated from onflow/sdk/src/decode/decode-stream.ts

decodeStream

Import


_10
import { decodeStream } from "@onflow/sdk"

Parameters

stream

decodeResponse

  • Type: DecodeResponseFn

_10
type DecodeResponseFn = (
_10
response: Record<string, any>,
_10
customDecoders?: Record<string, any>
_10
) => Promise<any>

customDecoders (optional)

  • Type: Record<string, any>

Returns

StreamConnection