We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f82ca3 commit d0012c8Copy full SHA for d0012c8
modules/queue/queue.go
@@ -9,6 +9,8 @@
9
// - An item can be a simple value, such as an integer, or a more complex structure that has multiple fields.
10
// Usually a item serves as a task or a message. Sets of items will be sent to a queue handler to be processed.
11
// - It's represented as a JSON-marshaled binary slice in the queue
12
+// - Since the item is marshaled by JSON, and JSON doesn't have stable key-order/type support,
13
+// so the decoded handler item may not be the same as the original "pushed" one if you use map/any types,
14
//
15
// 2. Batch:
16
// - A collection of items that are grouped together for processing. Each worker receives a batch of items.
0 commit comments