# webworker-rpc **Repository Path**: akeboshi-home/webworker-rpc ## Basic Information - **Project Name**: webworker-rpc - **Description**: 方便主线程及worker之间rpc通信 - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-02-08 - **Last Updated**: 2023-02-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # webworker-rpc ## Getting Started install ### Inlined **Register** **Execute** ## Features * remote.xx.xx(): Promise * @Export * @RemoteListener * rpcPeer.exportProperty().onceReady * rpcPeer.destroy() * special param (undefined, null, 0, false) ## Usage * @Export() * RPCPeer.create() * RPCPeer.attach() * RPCPeer.remote...() * RPCPeer.destroy() ## Examples ### Build protobuf protocol ```bash $ yarn global add rimraf protobufjs $ yarn mkproto ``` 编译成功后提交./lib 目录 ### Develop Run yarn dev ### Build Run yarn build git add . git commit -m "vxxx" git push git push gitlab master