镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Node Stream #100

Description

@LorenDorez

So the Node Engine implementation for javascript.Nodejs supports returning a stream from node to .net by setting the return type to Stream. However, JES has a validation helper that check to make sure the return type is valid and stream is not one of them.

Is there a reason or can we look to see about allowing this?

Activity

  1. Taritsyn commented on Jan 25, 2022

    @Taritsyn
    Owner

    Hello, Dorez!

    So the Node Engine implementation for javascript.Nodejs supports returning a stream from node to .net by setting the return type to Stream.

    All other JS engines do not support this feature.

    However, JES has a validation helper that check to make sure the return type is valid and stream is not one of them.

    This is how it is intended, because the JavaScript Engine Switcher library determines unified interface for access to the basic features of popular JS engines.

    Perhaps you should use the Jering.Javascript.NodeJS library directly.

  2. LorenDorez commented on Jan 26, 2022

    @LorenDorez
    Author

    Thanks for the reply and info. I can see where it would be out of scope for this project. I'll look to mock something up.

    I just want to experiment with in junction with ReactJS.net using the new render stream to support lazy on ssr in react v18.

    Thanks for a great project btw.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions