~/bend-docscommunity

src/sys.bend relies on unsafe/foreign

raw source on the hub · import bend-kube-runtime@0.2.0.0/src/sys.bend as Sys

1 import
import Base

Effects (foreign code)

effect Sys.wall source · line 10 · raw

IO(Pair(U32, Pair(U32, U32)))

The wall clock: (days since 1970-01-01, (second of the day, microseconds)). time.bend's Wall.of makes it a Wall.

foreign: src/effs/sys.c, src/effs/sys.js

effect Sys.signal source · line 15 · raw

IO(U32)

Waits for SIGTERM or SIGINT; answers the signal's number.

foreign: src/effs/sys.c, src/effs/sys.js