Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Creating observable using Inline Arrow functions

In the previous post we created a separate Function and passed it as a parameter to create an Observable. In this post we shall see on how to create an Observable using an inline arrow function.
In the below example we will create an Observable with an inline function which emits the current time, we use setIntervalto emit a new value every 1 second.


This post first appeared on C# Guide, please read the originial post: here

Share the post

Creating observable using Inline Arrow functions

×

Subscribe to C# Guide

Get updates delivered right to your inbox!

Thank you for your subscription

×