Skip to content

feedback: Module net.box #796

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
TarantoolBot opened this issue Jun 5, 2019 · 1 comment
Closed

feedback: Module net.box #796

TarantoolBot opened this issue Jun 5, 2019 · 1 comment
Assignees

Comments

@TarantoolBot
Copy link
Collaborator

<…>h will return true
when the result of the request is available,
|future:result() to get the result of the request,
future:wait_result(timeout) to
wait until the result of the request is available and then get it,|

future:discard() to abandon the object.

Typically a user would<…>

https://www.tarantool.io/en/doc/2.1/reference/reference_lua/net_box/

не сказано какие выходные данные у функций , каждых раз приходится открывать код и смотреть а что все таки оно возвращает

function request_index:result()
    if self.errno then
        return nil, box.error.new({code = self.errno,
                                   reason = self.response})
    elseif not self.id then
        return self.response
    elseif not worker_fiber then
        return nil, box.error.new(E_NO_CONNECTION)
    else
        return nil, box.error.new(box.error.PROC_LUA,
                                  'Response is not ready')
    end
end
@lenkis lenkis self-assigned this Jun 19, 2019
@lenkis lenkis assigned izmalk and unassigned lenkis Jul 12, 2019
@izmalk izmalk closed this as completed in c434396 Jul 18, 2019
izmalk pushed a commit that referenced this issue Jul 18, 2019
This reverts commit c434396.
@izmalk izmalk reopened this Jul 18, 2019
izmalk pushed a commit that referenced this issue Jul 18, 2019
Corrected a typo to fix an non-numbered list
@lenkis
Copy link
Contributor

lenkis commented Jul 25, 2019

markup issue: please mark nil as in Lua manual:

**nil**

izmalk pushed a commit that referenced this issue Jul 25, 2019
#796 **nil** instead of Nil
@izmalk izmalk closed this as completed in cb2623e Aug 7, 2019
izmalk added a commit that referenced this issue Aug 7, 2019
* Fixed gh-797 feedback: SQL DBMS Modules
* Fixed gh-808 feedback: Lua tutorials
* Fixed gh-792 feedback: Модель данных
* Partial fix gh-804 feedback: Module digest Fixed only in English version!
* Fixed gh-796 feedback: Module net.box
* Fixed gh-810 feedback: Модуль string
* FIxed gh-821 feedback: Использование Docker-образа and quotes in the entire section
* Fixed gh-831 feedback: Module fiber

#831 Note added

* Fix #832

#832 Fixed typo - excessive module word at the end (one more generated by :ref: link).

* Fix #835

#835 Fixed typo

* Fix#791

#791 Add fuzzy to fix the list rendering

* #796 fixed markup issue

#796 **nil** instead of Nil

* Fixed quote marks as in #821

#821 (comment)

* Fixed term in fix #797

Fixed placeholder term #797

* Fix #841

#841 Fixed Russian translation

* Fix #845

#845 Fixed a typo
lenkis added a commit that referenced this issue Aug 9, 2019
Fixed gh-797 feedback: SQL DBMS Modules
Fixed gh-808 feedback: Lua tutorials
Fixed gh-792 feedback: Модель данных
Partially fixed gh-804 feedback: Module digest Fixed only in English version!
Fixed gh-796 feedback: Module net.box
Fixed gh-810 feedback: Модуль string
Fixed gh-821 feedback: Использование Docker-образа and quotes in the entire section
Fixed gh-831 feedback: Module fiber
Fixed gh-832 feedback: Module crypto
Fixed gh-835 feedback: Tarantool - Connectors
Fixed gh-791 feedback: Модуль fio
Fixed gh-796 feedback: Module net.box
Fixed gh-797 feedback: SQL DBMS Modules
Fixed gh-841 feedback: Модуль socket
Fixed gh-845 feedback: Вложенный модуль box.space
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants