RxJS v6+. 2. import { throwError } from 'rxjs';. 3. . 4. //emits an error with specified value on subscription. 5. const source = throwError('This is an ...
確定! 回上一頁