@sagentic-ai/sagentic-af / ParentOf
ParentOf<T> ​
Type parameters ​
• T extends Identified
Methods ​
abandon() ​
ts
abandon(child): void
Abandon a child object.
Parameters ​
• child: T
Returns ​
void
Throws ​
Error throw if child object is not adopted.
Source ​
adopt() ​
ts
adopt(child): void
Adopt a child object, should.
Parameters ​
• child: T
Returns ​
void
Throws ​
Error if child object is somebody's else or is already adopted.