Jump to content

lastmatador

Members
  • Posts

    2
  • Joined

  • Last visited

lastmatador's Achievements

  1. Hi, everyone, it's so strange that i can't wait until eventHub fully connected. For example for Session - you have session.initializing that i can await for to garatee that i have ready to work session. If i write something like this: console.log(session.eventHub.isConnected()) session.eventHub.connect() console.log(session.eventHub.isConnected()) it shows me false, false. and because of this function is not async and is not returning a promise, i can't await of it. session.eventHub.disconnect() behaves in a similar way. It causes many problems when I need to connect-disconnect several times in a row. Please help!
  2. Hello! well, in python api I can get entity object like this: entity_obj = session.query("Task where id is {some_id}").first() Can I do something like that in javascript api to get whole object? Not only separate fields, like id, name or whatever... I ask this, because to create some entities I have to put whole object to the data argument of create function. Thanks!
×
×
  • Create New...