@litert/[email protected]

该文章根据 CC-BY-4.0 协议发表,转载请遵循该协议。
本文地址:https://fenying.net/en/project/litert/televoke/v1.1.0/

@litert/televoke is a RPC library for NodeJS, written in TypeScript.

Installation

1npm install @litert/televoke@^1.1.0

v1.1.0 CHANGELOG

  • feat(protocol): added experimental supports for transports between worker thread.

    You can run Televoke servers in main thread or worker threads now.

  • feat(protocol): added feature flag properties for channel objects.

    Now you can detect whether the server supports push messages and binary stream transport.

  • fix(protocol): simplified the ITransporter.end method.

  • fix(decoder): should decode protocol error as special error.

  • fix(protocol): put protocol-error code in server_internal_server data.