Should I write smth like that

```
return task.exec(session, state).get(json_timeout, TimeUnit.MILLISECONDS);

```

Or I can do like this

```
task.exec(session, state, result);
return result;

```

A have already read all documentation that I found, but failed to find an answer. My bad...