UNPKG
timeld-cli
Version:
connector-http-signing (0.2.1-connector-http-signing.0)
edge (0.2.0-edge.2)
latest (0.1.8)
no-ably (0.1.6-no-ably.0)
prejournal (0.1.5-prejournal.1)
test (0.1.4-0)
0.2.1-connector-http-signing.0
0.2.0-edge.2
0.2.0-edge.1
0.2.0-edge.0
0.2.0-connector-http-signing.0
0.1.8
0.1.7
0.1.6
0.1.6-no-ably.0
0.1.5
0.1.5-prejournal.1
0.1.5-prejournal.0
0.1.4
0.1.4-0
0.1.3
0.1.1
0.1.0
0.1.0-8
0.1.0-7
0.1.0-6
0.1.0-5
0.1.0-4
0.1.0-3
0.1.0-1
0.1.0-0
0.0.0
Live shared timesheets command interface
github.com/m-ld/timeld/tree/main/packages/cli
m-ld/timeld
timeld-cli
/
lib
/
PromiseProc.mjs
9 lines
(8 loc)
•
223 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
import
{
Proc
}
from
'@m-ld/m-ld-cli/lib/Proc.js'
;
export
class
PromiseProc
extends
Proc
{
/**
@param
{
Promise
} promise */
constructor
(
promise
) {
super
(); promise.
then
(
() =>
this
.
setDone
(),
this
.
setDone
); } }