1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
use Arc;
use BoxFuture;
use Value;
use crate::;
/// A dispatchable function handler. Receives the invocation payload.
///
/// Handlers that also want the optional per-invocation `metadata` sidecar use
/// [`RemoteFunctionHandlerWithMetadata`]; this single-argument shape is kept
/// for backward compatibility.
pub type RemoteFunctionHandler =
;
/// A dispatchable function handler that also receives the optional
/// per-invocation `metadata` sidecar (delivered as a distinct argument
/// alongside the payload; `None` when the caller attached none).
///
/// This is the SDK's internal dispatch shape: handlers built from
/// metadata-unaware functions ignore the second argument.
/// <!-- docs:internal -->
pub type RemoteFunctionHandlerWithMetadata =
;
/// Incoming streaming request received by a function registered with a stream trigger.
///
/// Alias of [`iii_helpers::http::HttpRequest`].
pub type StreamRequest<T = Value> = HttpRequest;
/// Streaming response type, mirroring the Node and Python `StreamResponse`.
///
/// Alias of [`iii_helpers::http::HttpResponse`]; added for cross-language parity.
pub type StreamResponse<T = Value> = HttpResponse;
/// A streaming channel pair for worker-to-worker data transfer.