Pass the value through the callback, and return the value
function createUser(name: string): User { return tap(new User, user => { user.name = name })} Copy
function createUser(name: string): User { return tap(new User, user => { user.name = name })}
Pass the value through the callback, and return the value