FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
hlambda-core/src/utils/getProcessInstanceId.js at master · hlambda/hlambda-core · GitHub
hlambda
hlambda-core
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
hlambda-core
/
src
/
utils
/
getProcessInstanceId.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
13 lines (10 loc) · 287 Bytes
Breadcrumbs
hlambda-core
/
src
/
utils
/
getProcessInstanceId.js
Copy path
File metadata and controls
13 lines (10 loc) · 287 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
import
{
v4
as
uuidv4
}
from
'uuid'
;
let
processInstanceId
;
const
getProcessInstanceId
=
async
(
)
=>
{
if
(
typeof
processInstanceId
===
'string'
)
{
return
processInstanceId
;
}
processInstanceId
=
uuidv4
(
)
;
return
processInstanceId
;
}
;
export
default
getProcessInstanceId
;
Back
|
FazBrowse Home
|
New Git URL