Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion specification/eventgrid/Azure.Messaging.EventGrid/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,9 @@ namespace Azure.Messaging.EventGrid {
maxEvents?: int32 = 1;

@doc("Max wait time value for receive operation in Seconds. It is the time in seconds that the server approximately waits for the availability of an event and responds to the request. If an event is available, the broker responds immediately to the client. Minimum value is 10 seconds, while maximum value is 120 seconds. If not specified, the default value is 60 seconds.")
@encode("seconds", int32)
@query
maxWaitTime?: int32 = 60;
Copy link
Member Author

@l0lawrence l0lawrence May 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

def function(max_wait_time: string or whatever a duration is)

In the background should be sending as an int -- should serialize it to an int across the wire

maxWaitTime?: duration;
}, ReceiveResult>;

// Acknowledge Operation:
Expand Down