From 5c8077156e1086c75acf1c3fd3935a1ac73638bc Mon Sep 17 00:00:00 2001 From: Dominic Farolino Date: Tue, 20 Feb 2024 17:01:38 -0500 Subject: [PATCH] Fix Observable unsubscription timing --- spec.bs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec.bs b/spec.bs index ee8436d..a76e74a 100644 --- a/spec.bs +++ b/spec.bs @@ -216,13 +216,13 @@ The signal getter steps are to 1. [=close a subscription|Close=] [=this=]. + 1. [=AbortController/Signal abort=] [=this=]'s [=Subscriber/complete or error controller=]. + 1. If |error algorithm| is not null, then run |error algorithm| given |error|. [=Assert=]: No exception was thrown. 1. Otherwise (i.e., when |error algorithm| is null), [=report the exception=] |error|. - - 1. [=AbortController/Signal abort=] [=this=]'s [=Subscriber/complete or error controller=].
@@ -235,11 +235,11 @@ The signal getter steps are to 1. [=close a subscription|Close=] [=this=]. + 1. [=AbortController/Signal abort=] [=this=]'s [=Subscriber/complete or error controller=]. + 1. If |complete algorithm| is not null, then run |complete algorithm|. [=Assert=]: No exception was thrown. - - 1. [=AbortController/Signal abort=] [=this=]'s [=Subscriber/complete or error controller=].