unlink
Remove a memory-to-memory edge. Removing one that is not there is a success, not an error.
unlink(source: str, target: str, kind: str) -> UnlinkResultunlink(request: UnlinkRequest) -> UnlinkResponseParameters
ParameterTypeRequired
sourcestring (wire: 64-bit integer)requiredThe memory the edge leaves.
targetstring (wire: 64-bit integer)requiredThe memory it points at.
kindEdgeKindrequiredWhich edge kind to remove. The triple is the identity — there is no edge id.
Returns
FieldTypePresence
source / target / kind—alwaysEchoed back.
removedbooleanalwaysfalse when there was no such edge. Not an error — which is what makes unlink safe to retry and safe to call speculatively.
See also
Was this page helpful?