transferIsRetained function

bool transferIsRetained(
  1. StaticOrRuntimeParameter? control
)

Whether control makes a core retain its result for a runtime consumer.

This is false for the scheduled forms described by resolveTransferControl, for which a core generates no retention.

Implementation

bool transferIsRetained(StaticOrRuntimeParameter? control) =>
    control?.isRuntime ?? false;