StopCountingFunction 操作

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

operation StopCountingFunction<'In, 'Out>(callable : ('In -> 'Out)) : Int

总结

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

描述

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

输入

调用

将返回其计数的函数。

输出

自上次调用 StartCountingFunction以来调用函数的次数。