public CompletionStage < List < Map < String , Result < R > > > > callSync ( final SaltClient client , Target < ? > target , AuthMethod auth , Optional < Batch > batch ) { return callSyncHelperNonBlock ( client , target , auth , batch ) ; }
Calls a execution module function on the given target with batching and synchronously waits for the result . Authentication is done with the token therefore you have to login prior to using this function .