Submit Search
Upload
Asynchronous programming from Xamarin Hakcday in Melbourne
•
1 like
•
778 views
Filip Ekberg
Follow
These are the slides from my Async talk at the Xamarin Hackday in Melbourne
Read less
Read more
Technology
Report
Share
Report
Share
1 of 19
Download Now
Download to read offline
Recommended
No More Deadlocks; Asynchronous Programming in .NET
No More Deadlocks; Asynchronous Programming in .NET
Filip Ekberg
Asynchronous programming
Asynchronous programming
Filip Ekberg
Game Analytics Cluster Scheduler
Game Analytics Cluster Scheduler
cmmdevries
Sbt for mere mortals
Sbt for mere mortals
Ivan Porto Carrero
Azure sql insert perf
Azure sql insert perf
Mornè Blake
Rxjs ngvikings
Rxjs ngvikings
Christoffer Noring
Introduction to Service Workers | Matteo Manchi
Introduction to Service Workers | Matteo Manchi
Codemotion
Include
Include
Shi Chakep
More Related Content
What's hot
Rxjs swetugg
Rxjs swetugg
Christoffer Noring
Game dev 101 part 2
Game dev 101 part 2
Christoffer Noring
Understanding reactive programming with microsoft reactive extensions
Understanding reactive programming with microsoft reactive extensions
Oleksandr Zhevzhyk
Road to react hooks
Road to react hooks
Younes (omar) Meliani
Better react/redux apps using redux-saga
Better react/redux apps using redux-saga
Younes (omar) Meliani
Rxjs vienna
Rxjs vienna
Christoffer Noring
Angular2 rxjs
Angular2 rxjs
Christoffer Noring
The Ring programming language version 1.9 book - Part 71 of 210
The Ring programming language version 1.9 book - Part 71 of 210
Mahmoud Samir Fayed
Rethink Async With RXJS
Rethink Async With RXJS
Ryan Anklam
Angular and The Case for RxJS
Angular and The Case for RxJS
Sandi Barr
Game dev 101 part 3
Game dev 101 part 3
Christoffer Noring
Scalable Angular 2 Application Architecture
Scalable Angular 2 Application Architecture
FDConf
Reactive Programming Patterns with RxSwift
Reactive Programming Patterns with RxSwift
Florent Pillet
Oop assignment 02
Oop assignment 02
MamoonKhan39
Functional Reactive Programming - RxSwift
Functional Reactive Programming - RxSwift
Rodrigo Leite
rx.js make async programming simpler
rx.js make async programming simpler
Alexander Mostovenko
Rxjs marble-testing
Rxjs marble-testing
Christoffer Noring
We Love Performance! How Tic Toc Games Uses ECS in Mobile Puzzle Games
We Love Performance! How Tic Toc Games Uses ECS in Mobile Puzzle Games
Unity Technologies
RxJS - The Reactive extensions for JavaScript
RxJS - The Reactive extensions for JavaScript
Viliam Elischer
You will learn RxJS in 2017
You will learn RxJS in 2017
名辰 洪
What's hot
(20)
Rxjs swetugg
Rxjs swetugg
Game dev 101 part 2
Game dev 101 part 2
Understanding reactive programming with microsoft reactive extensions
Understanding reactive programming with microsoft reactive extensions
Road to react hooks
Road to react hooks
Better react/redux apps using redux-saga
Better react/redux apps using redux-saga
Rxjs vienna
Rxjs vienna
Angular2 rxjs
Angular2 rxjs
The Ring programming language version 1.9 book - Part 71 of 210
The Ring programming language version 1.9 book - Part 71 of 210
Rethink Async With RXJS
Rethink Async With RXJS
Angular and The Case for RxJS
Angular and The Case for RxJS
Game dev 101 part 3
Game dev 101 part 3
Scalable Angular 2 Application Architecture
Scalable Angular 2 Application Architecture
Reactive Programming Patterns with RxSwift
Reactive Programming Patterns with RxSwift
Oop assignment 02
Oop assignment 02
Functional Reactive Programming - RxSwift
Functional Reactive Programming - RxSwift
rx.js make async programming simpler
rx.js make async programming simpler
Rxjs marble-testing
Rxjs marble-testing
We Love Performance! How Tic Toc Games Uses ECS in Mobile Puzzle Games
We Love Performance! How Tic Toc Games Uses ECS in Mobile Puzzle Games
RxJS - The Reactive extensions for JavaScript
RxJS - The Reactive extensions for JavaScript
You will learn RxJS in 2017
You will learn RxJS in 2017
Viewers also liked
Async in .NET
Async in .NET
RTigger
Evolution of C# delegates
Evolution of C# delegates
mbaric
CTU June 2011 - C# 5.0 - ASYNC & Await
CTU June 2011 - C# 5.0 - ASYNC & Await
Spiffy
Async/Await
Async/Await
Jeff Hart
Using Async in your Mobile Apps - Marek Safar
Using Async in your Mobile Apps - Marek Safar
Xamarin
C# Delegates and Event Handling
C# Delegates and Event Handling
Jussi Pohjolainen
C# Delegates
C# Delegates
Raghuveer Guthikonda
Viewers also liked
(7)
Async in .NET
Async in .NET
Evolution of C# delegates
Evolution of C# delegates
CTU June 2011 - C# 5.0 - ASYNC & Await
CTU June 2011 - C# 5.0 - ASYNC & Await
Async/Await
Async/Await
Using Async in your Mobile Apps - Marek Safar
Using Async in your Mobile Apps - Marek Safar
C# Delegates and Event Handling
C# Delegates and Event Handling
C# Delegates
C# Delegates
More from Filip Ekberg
C# 8 and Beyond
C# 8 and Beyond
Filip Ekberg
The State of C#
The State of C#
Filip Ekberg
Building APIs with MVC 6 and OAuth
Building APIs with MVC 6 and OAuth
Filip Ekberg
C# Is The Future
C# Is The Future
Filip Ekberg
Azure Mobile Services .NET Backend
Azure Mobile Services .NET Backend
Filip Ekberg
C# 6.0 - What?! C# is being updated?
C# 6.0 - What?! C# is being updated?
Filip Ekberg
More from Filip Ekberg
(6)
C# 8 and Beyond
C# 8 and Beyond
The State of C#
The State of C#
Building APIs with MVC 6 and OAuth
Building APIs with MVC 6 and OAuth
C# Is The Future
C# Is The Future
Azure Mobile Services .NET Backend
Azure Mobile Services .NET Backend
C# 6.0 - What?! C# is being updated?
C# 6.0 - What?! C# is being updated?
Recently uploaded
UiPath Studio Web workshop series - Day 7
UiPath Studio Web workshop series - Day 7
DianaGray10
Linked Data in Production: Moving Beyond Ontologies
Linked Data in Production: Moving Beyond Ontologies
David Newbury
Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024
SkyPlanner
Comparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and Istio
Christian Posta
Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™
Adtran
UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8
DianaGray10
Secure your environment with UiPath and CyberArk technologies - Session 1
Secure your environment with UiPath and CyberArk technologies - Session 1
DianaGray10
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UbiTrack UK
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
Md Hossain Ali
Empowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership Blueprint
Mahmoud Rabie
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
Aggregage
Introduction to Matsuo Laboratory (ENG).pptx
Introduction to Matsuo Laboratory (ENG).pptx
Matsuo Lab
Cloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial Data
Safe Software
PicPay - GenAI Finance Assistant - ChatGPT for Customer Service
PicPay - GenAI Finance Assistant - ChatGPT for Customer Service
Renan Moreira de Oliveira
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
DianaGray10
COMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a Website
dgelyza
20200723_insight_release_plan_v6.pdf20200723_insight_release_plan_v6.pdf
20200723_insight_release_plan_v6.pdf20200723_insight_release_plan_v6.pdf
Jamie (Taka) Wang
Babel Compiler - Transforming JavaScript for All Browsers.pptx
Babel Compiler - Transforming JavaScript for All Browsers.pptx
YounusS2
UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1
DianaGray10
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
DianaGray10
Recently uploaded
(20)
UiPath Studio Web workshop series - Day 7
UiPath Studio Web workshop series - Day 7
Linked Data in Production: Moving Beyond Ontologies
Linked Data in Production: Moving Beyond Ontologies
Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024
Comparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and Istio
Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™
UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8
Secure your environment with UiPath and CyberArk technologies - Session 1
Secure your environment with UiPath and CyberArk technologies - Session 1
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
Empowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership Blueprint
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
Introduction to Matsuo Laboratory (ENG).pptx
Introduction to Matsuo Laboratory (ENG).pptx
Cloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial Data
PicPay - GenAI Finance Assistant - ChatGPT for Customer Service
PicPay - GenAI Finance Assistant - ChatGPT for Customer Service
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
COMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a Website
20200723_insight_release_plan_v6.pdf20200723_insight_release_plan_v6.pdf
20200723_insight_release_plan_v6.pdf20200723_insight_release_plan_v6.pdf
Babel Compiler - Transforming JavaScript for All Browsers.pptx
Babel Compiler - Transforming JavaScript for All Browsers.pptx
UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
Asynchronous programming from Xamarin Hakcday in Melbourne
2.
Author. Blogger. Speaker.
C# MVP. Xamarin MVP. Geek. Senior Software Engineer @Invoice2go
3.
12:38
9.
var task =
Task.Run(() => { Thread.Sleep(2000); return "Hello World!"; }); task.ContinueWith((completedTask) => { Dispatcher.Invoke(() => MyButton.Content = completedTask.Result); });
10.
Task.Delay(1).ContinueWith((t) => { Dispatcher.Invoke(()
=> { }); }).Wait();
13.
UsingAsyncandAwait
15.
private async Task
RunAsync() { var x = 10; await Task.Delay(2000); Debug.WriteLine(x); }
16.
private Task RunAsync() { <RunAsync>d__1
stateMachine = new <RunAsync>d__1 { <>t__builder = AsyncTaskMethodBuilder.Create(), <>1__state = -1 }; stateMachine.<>t__builder.Start<<RunAsync>d__1>(ref stateMachine); return stateMachine.<>t__builder.Task; }
17.
Deadlockallthethings!
19.
Author. Blogger. Speaker.
C# MVP. Geek.
Download Now