Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

last

import { last } from "https://raw.githubusercontent.com/surma/observables-with-streams/28c55be6d855780c677fd1f4ba975f4d3144891d/src/index.ts";

Returns a Transform that emits the last item in an observable.

function last<T>(): Transform<T>;
§
last<T>(): Transform<T>
[src]

§Type Parameters

§Return Type

§

Transform that emits the last item emitted by the observable.