Skip to content

Commit 02ac7b1

Browse files
committed
docs: indicate data and onsent params are optional
1 parent 84834d3 commit 02ac7b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Set a user id to be tied with events. The user id is persisted throughout multip
5252

5353
Clears any stored user ids that were set by `streamsql.identify('userId')`.
5454

55-
#### `streamsql.sendEvent(streamName <string> [,data <object>, onSent? <function>])`
55+
#### `streamsql.sendEvent(streamName <string> [,data <object>, onSent <function>])`
5656

5757
Send data to `streamName`. The stream name must be valid and registered prior to sending. If data is not provided, default options will be sent including page context, any set user ids, timestamps, and so on. `onSent` is a an optional callback that is called with the response status code and response text when sending is complete.
5858

0 commit comments

Comments
 (0)