non-callback for count

2 posts, 0 answers
  1. jon
    jon avatar
    20 posts
    Member since:
    Jul 2014

    Posted 03 Sep 2014 Link to this post

    hi, please tell me how to get the count value without using callback as follows:

    var el = new Everlive('your-api-key-here');
    var data ='Books');

  2. Anton Dobrev
    Anton Dobrev avatar
    529 posts

    Posted 04 Sep 2014 Link to this post

    Hi Jon,

    Most of the methods in the Backend Services JavaScript SDK are asynchronous. In this case the method returns a promise which is resolved when the asynchronous task is completed.

    Also, you can use PowerFields for retrieving counts if this will fit better your scenario.

    Please, let me know if you have further questions.

    Anton Dobrev
    Everlive is now Telerik Backend Services, and is part of the Telerik Platform.
Back to Top