书栈网 · BookStack 本次搜索耗时 0.060 秒,为您找到 7201 个相关结果.
  • 端能力API

    3963 2018-08-19 《Taro 1.1 文档手册》
    端能力API 网络 发起请求 Taro.request(OBJECT) 上传、下载 Taro.uploadFile(OBJECT) Taro.downloadFile(OBJECT) WebSocket Taro.connectSocket(OBJECT) SocketTask Taro.onSocketOpen Taro.onSocketE...
  • 04 协程

    基本用法 多协程并发 协程的参数和返回值 wrap 包装函数和 yield 的区别 将协程包装成闭包函数 协程与异常处理 基本用法 PHP 5.5 引入了 Generator ,Generator 通过封装之后,可以作为协程来进行使用。 Hprose 也提供了对 Generator 的一个封装,并且跟 Promise 相结合之后,可...
  • 2.12 Always await promises before returning to avoid a partial stacktrace

    Returning promises One Paragraph Explainer Code example Anti-Pattern: Calling async function without awaiting Code example: Calling and awaiting as appropriate Code example Anti...
  • Model

    Class Model Mixes: removeAttribute([attribute]) sync() -> Promise.<this> drop([options]) -> Promise schema(schema, [options]) -> this getTableName([options]) -> String|Object...
  • class: Page

    8950 2018-06-19 《Puppeteer中文文档》
    类: Page 事件: ‘close’ 事件: ‘console’ 事件: ‘dialog’ 事件: ‘domcontentloaded’ 事件: ‘error’ 事件: ‘frameattached’ 事件: ‘framedetached’ 事件: ‘framenavigated’ 事件: ‘load’ 事件: ‘metrics’ 事件...
  • contentTracing

    contentTracing 方法 contentTracing.getCategories() contentTracing.startRecording(options) contentTracing.stopRecording([resultFilePath]) contentTracing.getTraceBufferUsage() ...
  • contentTracing

    contentTracing 方法 contentTracing.getCategories() contentTracing.startRecording(options) contentTracing.stopRecording([resultFilePath]) contentTracing.getTraceBufferUsage(...
  • 异步示例

    .resolves async /await 错误处理 .rejects 首先, 像 Getting Started 里面所说的那样, 启用babel的支持 Let’s implement a module that fetches user data from an API and returns the user name. // ...
  • OS Signals

    370 2020-10-28 《Deno v1.4.4 Manual》
    Handle OS Signals Concepts Async iterator example Promise based example Stop watching signals Handle OS Signals This program makes use of an unstable Deno feature. Learn m...
  • class: Download

    class: Download download.createReadStream() download.delete() download.failure() download.path() download.suggestedFilename() download.url() class: Download Download obj...