import { Injectable } from '@angular/core' ; import { of , Observable , } from 'rxjs' ; import { delay } from 'rxjs/operators' ; import { DaffContactUnion } from '@daffodil/contact' ; import { DaffContactServiceInterface } from '@daffodil/contact/driver' ; inheritdoc @ Injectable ( { providedIn : 'root' , } ) export class DaffTestingContactService implements DaffContactServiceInterface < DaffContactUnion , any > { send ( payload ) { return of ( 'Success' ) . pipe ( delay ( 10 ) ) ; } }