mirror of https://github.com/dapr/docs.git
Fix method name
`startServer` method doesn't exist on JavaScript `DaprServer` (method name is `start` - see https://docs.dapr.io/developing-applications/sdks/js/js-server/#bindings-api) Signed-off-by: Stuart Leeks <stuartle@microsoft.com>
This commit is contained in:
parent
6460169263
commit
2bbff4b3ea
|
@ -253,7 +253,7 @@ async function start() {
|
|||
}
|
||||
});
|
||||
await server.binding.receive('checkout', async (orderId) => console.log(`Received Message: ${JSON.stringify(orderId)}`));
|
||||
await server.startServer();
|
||||
await server.start();
|
||||
}
|
||||
|
||||
```
|
||||
|
@ -292,4 +292,4 @@ Event delivery guarantees are controlled by the binding implementation. Dependin
|
|||
- [Bindings building block]({{< ref bindings >}})
|
||||
- [Bindings API]({{< ref bindings_api.md >}})
|
||||
- [Components concept]({{< ref components-concept.md >}})
|
||||
- [Supported bindings]({{< ref supported-bindings >}})
|
||||
- [Supported bindings]({{< ref supported-bindings >}})
|
||||
|
|
Loading…
Reference in New Issue