kcoin icon indicating copy to clipboard operation
kcoin copied to clipboard

Change sync call to HyperLedger to async

Open juniwang opened this issue 6 years ago • 0 comments

see https://github.com/kaiyuanshe/kcoin/blob/master/src/web/helpers/github_helpers.rb#L83, we call server api synchronously, we'd better change it async mode.

Please:

  • introduce ruby library rufus
  • As a first example, change https://github.com/kaiyuanshe/kcoin/blob/master/src/web/helpers/github_helpers.rb#L83 to asynchronous mode
  • Better create a new async module for commonly, so that we can easily adopt across the kcoin project

juniwang avatar Dec 21 '18 08:12 juniwang