Skip to content

Commit

Permalink
fix node gettingStarted example
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Oct 20, 2024
1 parent 413654a commit abbfe0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/node/ts/gettingStarted.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export async function setup(): Promise<AppState> {
* @param count The number of payloads to send
*/
export async function master(example: AppState, count: number | null) {
example.radio.startListening();
example.radio.stopListening();
for (let i = 0; i < (count || 5); i++) {
const start = process.hrtime.bigint();
const result = example.radio.send(example.payload);
Expand Down

0 comments on commit abbfe0a

Please sign in to comment.