🔍

Monadic meta

Retrieves meta-information about tables, reagents and tasks.

Syntax: meta <x>; meta [<x>]; meta[]

o)meta ([]a:`asc#1 2 3;b:1.1 2.0 5.3)
+`column`type`id`attr!(`a`b;`long`float;176448 45632;`asc`)
()
o)r:reagent[`async]
<Reagent#3>
o)meta[r]
id   | 3
state| `running
type | "async"
o)

meta[] rеturns meta-information about the current task. To get information about a specific task, pass the join handle as an argument.

o)meta[]
taskid  | 0
parent  | <Reagent#4>
children| ()
schedid | 1
o)h:spawn {10000000{x+1}/1;}
<Reagent#6>
o)meta[]
taskid  | 0
parent  | <Reagent#7>
children| (<Reagent#8>)
schedid | 1
o)