Function attribution_testing::attribute_memory

source ยท
pub fn attribute_memory(
    identifier: PrincipalIdentifier,
    name: String,
    attribution_provider: ProviderProxy,
    introspector: IntrospectorProxy,
) -> BoxStream<'static, Principal>
Expand description

Obtain which resources are used for various activities by an attribution provider.

If one of the children under the attribution provider has detailed attribution information, this function will recursively visit those children and build a tree of nodes.

Returns a stream of tree that are momentary snapshots of the memory state. The tree will evolve over time as principals are added and removed.