You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`PollInputStreamEntryMessage`|`0x0400`| Yes | No | Carries the service method input message(s) of the invocation. Note: currently the runtime always sends this entry completed, but this may change in future.|
256
-
|`GetStateEntryMessage`|`0x0800`| Yes | No | Get the value of a service instance state key. |
257
-
|`SleepEntryMessage`|`0x0C00`| Yes | No | Initiate a timer that completes after the given time. |
258
-
|`InvokeEntryMessage`|`0x0C01`| Yes | Yes | Invoke another Restate service. |
259
-
|`AwakeableEntryMessage`|`0x0C03`| Yes | No | Arbitrary result container which can be completed from another service, given a specific id. See [Awakeable identifier](#awakeable-identifier) for more details. |
260
-
|`BackgroundInvokeEntryMessage`|`0x0C02`| No | Yes | Invoke another Restate service at the given time, without waiting for the response. |
261
-
|`CompleteAwakeableEntryMessage`|`0x0C04`| No | Yes | Complete an `Awakeable`, given its id. See [Awakeable identifier](#awakeable-identifier) for more details. |
262
-
|`OutputStreamEntryMessage`|`0x0401`| No | No | Carries the service method output message(s) or terminal failure of the invocation. Note: currently the runtime accepts only one entry of this type, but this may change in future.|
263
-
|`SetStateEntryMessage`|`0x0800`| No | No | Set the value of a service instance state key. |
264
-
|`ClearStateEntryMessage`|`0x0801`| No | No | Clear the value of a service instance state key. |
|`PollInputStreamEntryMessage`|`0x0400`| Yes | No | Carries the invocation input message(s) of the invocation. Note: currently the runtime always sends this entry completed, but this may change in future. |
286
+
|`GetStateEntryMessage`|`0x0800`| Yes | No | Get the value of a service instance state key. |
287
+
|`SleepEntryMessage`|`0x0C00`| Yes | No | Initiate a timer that completes after the given time. |
288
+
|`InvokeEntryMessage`|`0x0C01`| Yes | Yes | Invoke another Restate service. |
289
+
|`AwakeableEntryMessage`|`0x0C03`| Yes | No | Arbitrary result container which can be completed from another service, given a specific id. See [Awakeable identifier](#awakeable-identifier) for more details. |
290
+
|`BackgroundInvokeEntryMessage`|`0x0C02`| No | Yes | Invoke another Restate service at the given time, without waiting for the response. |
291
+
|`CompleteAwakeableEntryMessage`|`0x0C04`| No | Yes | Complete an `Awakeable`, given its id. See [Awakeable identifier](#awakeable-identifier) for more details. |
292
+
|`OutputStreamEntryMessage`|`0x0401`| No | No | Carries the invocation output message(s) or terminal failure of the invocation. |
293
+
|`SetStateEntryMessage`|`0x0800`| No | No | Set the value of a service instance state key. |
294
+
|`ClearStateEntryMessage`|`0x0801`| No | No | Clear the value of a service instance state key. |
265
295
266
296
#### Awakeable identifier
267
297
@@ -299,7 +329,7 @@ To notify a failure, the SDK can either:
299
329
300
330
- Close the stream with `ErrorMessage` as last message. This message is used by the runtime for accurate reporting to
301
331
the user.
302
-
- Close the stream without `OutputStreamEntry` or `SuspensionMessage` or `ErrorMessage`. This is equivalent to sending
332
+
- Close the stream without `EndMessage` or `SuspensionMessage` or `ErrorMessage`. This is equivalent to sending
303
333
an `ErrorMessage` with unknown reason.
304
334
305
335
The runtime takes care of retrying to execute the invocation after such failures occur, following a defined set of
0 commit comments