Skip to content

Commit

Permalink
Update js/modules/k6/ws/ws.go
Browse files Browse the repository at this point in the history
Co-authored-by: Ivan Mirić <ivan@loadimpact.com>
  • Loading branch information
mstoykov and Ivan Mirić committed Aug 28, 2020
1 parent 6a5c5da commit 04e25be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/modules/k6/ws/ws.go
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ func (s *Socket) trackPong(pingID string) {
})
}

// SetTimeout executes the provided function inside the socket's event loop after at least the provoded
// SetTimeout executes the provided function inside the socket's event loop after at least the provided
// timeout, which is in ms, has elapsed
func (s *Socket) SetTimeout(fn goja.Callable, timeoutMs float64) error {
// Starts a goroutine, blocks once on the timeout and pushes the callable
Expand Down

0 comments on commit 04e25be

Please sign in to comment.