UNPKG
firebase-functions
Version:
latest (6.3.2)
6.3.2
6.3.1
6.3.0
6.2.0
6.1.2
6.1.1
6.1.0
6.0.1
6.0.0
5.1.1
5.1.0
5.0.1
5.0.0
4.9.0
4.8.2
4.8.1
4.8.0
4.7.0
4.6.0
4.5.0
4.4.1
4.4.0
4.3.1
4.3.0
4.2.1
4.2.0
4.1.1
4.1.0
4.0.2
4.0.1
4.0.0
4.0.0-rc.0
3.24.1
3.24.0
3.23.0
3.22.0
3.21.2
3.21.1
3.21.0
3.20.1
3.20.0
3.19.0
3.18.1
3.18.0
3.17.2
3.17.1
3.17.0
3.16.0
3.15.7
3.15.6
3.15.5
3.15.4
3.15.3
3.15.2
3.15.1
3.15.0
3.14.1
3.14.0
3.13.3
3.13.2
3.13.1
3.13.0
3.12.0
3.11.0
3.10.0
3.9.1
3.9.0
3.8.0
3.7.0
3.6.2
3.6.1
3.6.0
3.5.0
3.4.0
3.3.0
3.2.0
3.1.0
3.0.2
3.0.1
3.0.0
2.3.1
2.3.0
2.2.1
2.2.0
2.1.0
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.1.0
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.9.1
0.9.0
0.8.2
0.8.1
0.8.0
0.7.5
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.3
0.6.2
0.6.1
0.6.0
0.5.9
0.5.8
0.5.7
0.5.6
0.5.5
0.5.4
0.5.3
0.5.2
0.5.1
Firebase SDK for Cloud Functions
github.com/firebase/firebase-functions
firebase/firebase-functions
firebase-functions
/
lib
/
v2
/
trace.d.ts
5 lines
(4 loc)
•
221 B
TypeScript
View Raw
1
2
3
4
5
import
{
CloudEvent
}
from
"./core"
;
type
CloudEventFunction
<T> =
(
raw
:
CloudEvent
<T>
) =>
any
|
Promise
<
any
>;
export
declare
function
wrapTraceContext<T>(
handler
:
CloudEventFunction
<T>):
CloudEventFunction
<T>;
export
{};