requestId property

  1. @TagNumber(3)
int requestId

Each WorkRequest must have either a unique request_id or request_id = 0. If request_id is 0, this WorkRequest must be processed alone (singleplex), otherwise the worker may process multiple WorkRequests in parallel (multiplexing). As an exception to the above, if the cancel field is true, the request_id must be the same as a previously sent WorkRequest. The request_id must be attached unchanged to the corresponding WorkResponse. Only one singleplex request may be sent to a worker at a time.

Implementation

@$pb.TagNumber(3)
$core.int get requestId => $_getIZ(2);
  1. @TagNumber(3)
void requestId=(int v)

Implementation

@$pb.TagNumber(3)
set requestId($core.int v) {
  $_setSignedInt32(2, v);
}