书栈网 · BookStack 本次搜索耗时 0.031 秒,为您找到 16255 个相关结果.
  • 处理器

    338 2022-11-26 《Nornir 中文手册》
    处理器 一些想法 处理器 在 Nornir 中 处理器(Processors) 是一种可以通过自定义代码处理某些事件的插件,它就是一个可以处理任务的装饰器,它在不改变任务结果的前提下,让用户可以自己编写代码对任务结果进行加工,为处理任务提供了更多的扩展性。它有一些优点: 由于处理器是基于事件(event-based)的,所以可以异步处理事件,例...
  • Failed Tasks

    Failed Tasks Skipped hosts Raise on error automatically Workflows Failed Tasks Sometimes tasks can fail. Let’s see how to deal with failed tasks in nornir. Let’s start as us...
  • Failed Tasks

    Failed Tasks Skipped hosts Raise on error automatically Workflows Failed Tasks Sometimes tasks can fail. Let’s see how to deal with failed tasks in nornir. Let’s start as us...
  • 29. Rust 多线程并发编程

    二十九、Rust 多线程并发编程 29.1 多线程 29.2 创建线程 29.2.1 范例 29.3 加入线程句柄 join() 29.3.1 范例 二十九、Rust 多线程并发编程 随着电脑等电子产品全面进入多核时代,并发编程已经是程序不可或缺的功能之一。 并发编程就是同时运行两个或多个任务,就像宅男宅女的我们,一边吃零食还能一边吃饭,顺...
  • Processors

    Processors Ideas Processors Processors are plugins that can execute code on certain events. For more information on those events check the class documentation . You can see pr...
  • 介绍

    HinetPy——基于Python的Hi-net数据申请客户端 功能 一个简单的示例 引用 许可协议 HinetPy——基于Python的Hi-net数据申请客户端 HinetPy 是一个Python模块,致力于自动化和简化与 NIED Hi-net 相关的繁琐的数据申请、下载和格式转换工作。 NIED Hi-net ...
  • 16.1. Using Threads to Run Code Simultaneously

    Using Threads to Run Code Simultaneously Creating a New Thread with spawn Waiting for All Threads to Finish Using join Handles Using move Closures with Threads Using Th...
  • 将函数作为参数传给另一个函数

    将函数作为参数传给另一个函数 将函数作为参数传给另一个函数 def hi (): return "hi yasoob!" def doSomethingBeforeHi ( func ): print ( "I am doing some boring work before executing hi()"...
  • _.truncate([string=''], [options={}])

    _.truncate([string=''], [options={}]) Since Arguments Returns Example _.truncate([string=''], [options={}]) source npm package Truncates string if it's longer than the g...