char/avril
(wip) why'd you have to go and make things so complicaaaaated?
git clone https://git.t4t.associates/char/avril
b7bd857
main
1declare module"ext:core/ops" { 2export function op_worker_base () :string ; 3export function op_worker_close () :null ; 4export function op_worker_create ( 5args :[ 6specifier :string , 7referrer :string , 8name :string , 9restrictions :import ( "../../base/src/pledge.js" ). PledgeRow [], 10], 11) :[ id :number , portId :number ]; 12export function op_worker_metadata () :[ portId :number , url :string , name :string ] | null ; 13export function op_worker_terminate ( id :number ) :null ; 14export function op_worker_wait ( id :number ) :Promise < string | null >; 15}