1. 27 10月, 2018 1 次提交
  2. 18 10月, 2018 1 次提交
  3. 04 10月, 2018 3 次提交
  4. 28 9月, 2018 1 次提交
    • R
      Support zero-copy data in libdeno.send(). (#838) · d38ccfc6
      Ryan Dahl 提交于
      This is a large API refactor of deno.h which replaces
      deno_send() and deno_set_response() with deno_respond().
      It also adds a req_id parameter to the deno_recv_cb.
      
      Make writeFile/writeFileSync use it.
      d38ccfc6
  5. 22 9月, 2018 1 次提交
  6. 10 9月, 2018 3 次提交
    • R
      fbs_util.ts -> dispatch.ts · 3afc0b84
      Ryan Dahl 提交于
      And send() -> sendSync()
      3afc0b84
    • R
      Remove namespace from src/msg.fbs · a4f1b367
      Ryan Dahl 提交于
      a4f1b367
    • R
      Map promises onto futures. · 0d03fafb
      Ryan Dahl 提交于
      Refactors handlers.rs
      
      The idea is that all Deno "ops" (aka bindings) should map onto
      a Rust Future. By setting the "sync" flag in the Base message
      users can determine if the future is executed immediately or put
      on the event loop.
      
      In the case of async futures, a promise is automatically created.
      Errors are automatically forwarded and raised.
      
      TODO:
      
      - The file system ops in src/handler.rs are not using the thread pool
        yet. This will be done in the future using tokio_threadpool::blocking.
        That is, if you try to call them asynchronously, you will get a promise
        and it will act asynchronous, but currently it will be blocking.
      - Handlers in src/handler.rs returned boxed futures. This was to make
        it easy while developing. We should try to remove this allocation.
      0d03fafb
  7. 05 9月, 2018 1 次提交
  8. 31 8月, 2018 1 次提交