Skip to content

Support return ReadableStream<binary> in .handler #1058

Description

@dinwwwh

Describe the feature

const sync = os.
  .handler(async ({ context, input, errors }) => {
    return new ReadableStream(<binary data>);
  });

Relates: #954

Tip

You can support this effort by becoming an oRPC sponsor.

Additional information

  • Would you be willing to help implement this feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions