BatchableCommand

@HomeExperimentalApi
class BatchableCommand<RESPONSE : Any?> : Batchable


Represents a command that can be batched with other commands.

Summary

Public constructors

<RESPONSE : Any?> BatchableCommand(
    objectCommand: ObjectCommand,
    responseAdapter: StructAdapter<RESPONSE>?
)

Public properties

ObjectCommand

The request object with payload

StructAdapter<RESPONSE>?

The adapter to deserialize the response

Public constructors

BatchableCommand

<RESPONSE : Any?> BatchableCommand(
    objectCommand: ObjectCommand,
    responseAdapter: StructAdapter<RESPONSE>? = null
)

Public properties

objectCommand

val objectCommandObjectCommand

The request object with payload

responseAdapter

val responseAdapterStructAdapter<RESPONSE>?

The adapter to deserialize the response