Skip to content

Commit

Permalink
Fix README typo
Browse files Browse the repository at this point in the history
  • Loading branch information
samchon committed May 17, 2024
1 parent 6ffae1b commit eeaedb4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ Also, easy to develop complicated network system like grid computing.
```typescript
import { Driver, WebSocketConnector } from "tgrid";

import { ICalculator } from "./ICalculator";

export const webSocketClientMain = async () => {
// CONNECT TO WEBSOCKET SERVER
const connector: WebSocketConnector<null, null, ICalculator> =
Expand Down
4 changes: 0 additions & 4 deletions website/pages/docs/examples/remote-function-call.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ npm start
```typescript filename="examples/remote-function-call/src/client.ts" showLineNumbers {13-19}
import { Driver, WebSocketConnector } from "tgrid";

import { ICalculator } from "./ICalculator";

export const webSocketClientMain = async () => {
const connector: WebSocketConnector<null, null, ICalculator> =
new WebSocketConnector(
Expand Down Expand Up @@ -75,8 +73,6 @@ This is the secret of how `TGrid` has implemented the [RPC (Remote Procedure Cal
```typescript filename="examples/remote-function-call/src/server.ts" showLineNumbers {12-13}
import { WebSocketServer } from "tgrid";
import { Calculator } from "./Calculator";
export const webSocketServerMain = async () => {
const server: WebSocketServer<
null, // header
Expand Down
2 changes: 0 additions & 2 deletions website/pages/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ Also, easy to develop complicated network system like grid computing.
```typescript filename="examples/remote-function-call/src/client.ts" showLineNumbers
import { Driver, WebSocketConnector } from "tgrid";

import { ICalculator } from "./ICalculator";

export const webSocketClientMain = async () => {
// CONNECT TO WEBSOCKET SERVER
const connector: WebSocketConnector<null, null, ICalculator> =
Expand Down

0 comments on commit eeaedb4

Please sign in to comment.