StopCountingOperation 操作

完全限定的名称:Std.Diagnostics.StopCountingOperation

operation StopCountingOperation<'In, 'Out>(callable : ('In => 'Out)) : Int

总结

停止对调用给定操作的次数进行计数,并返回计数。 如果未对操作进行计数,则失败。

描述

此操作允许停止对调用给定操作的次数进行计数,并返回计数。 如果未对操作进行计数,则会触发运行时失败。

输入

调用

将返回其计数的操作。

输出

自上次调用 StartCountingOperation以来调用操作的次数。