Skip to content

descendants

Return the live descendants of an owner handle. Available as descendants after import_globals() or mv.process.descendants.

Parameters

  • parent — A process handle.
  • options? — A table with relation ("ownership" or "creation") and type.
local all = descendants(self, {relation = "creation"})

Related: children, find.

See the lua processes guide for more examples and limits.