AS
Size: a a a
AS
В
АС
В
S
В
В
S
В
S
В
В
sendForm<T extends ISomeInterface>(data: T): ResultModel> {
const url = '/some/backend/endpoint';
return this.http.post<ResultModel>(url, data).pipe(
mergeMap(resp => {
if (
!%this.CLASS_FIELD% ||
resp == null ||
(resp.SomeData && resp.SomeData.IsComplete)
) {
return of(resp);
} else {
data.requestId = resp.SomeData.requestId;
return this.anotherService.checkResult(data);
}
}),
);
}
S
sendForm<T extends ISomeInterface>(data: T): ResultModel> {
const url = '/some/backend/endpoint';
return this.http.post<ResultModel>(url, data).pipe(
mergeMap(resp => {
if (
!%this.CLASS_FIELD% ||
resp == null ||
(resp.SomeData && resp.SomeData.IsComplete)
) {
return of(resp);
} else {
data.requestId = resp.SomeData.requestId;
return this.anotherService.checkResult(data);
}
}),
);
}
Вキ
В
В
S
S
S