question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

thunk completeType not called on fail

See original GitHub issue

It appears that a failed thunk does not trigger the complete action type.

So a saveTodo thunk should always trigger listeners for saveTodo.type, which it does so for a successful thunk, but not a failed thunk.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
RobvHcommented, Oct 16, 2020

Apologies, I’m afraid I misread your initial statement. Sean clearly understands, but it might benefit others to have a little more information. Looking from the docs inward, I’m unaware of a type action existing or being expected.

1reaction
ctrlplusbcommented, Oct 16, 2020

Full response in the works. 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Thunk Action not being called by dispatch - using Typescript
It seems like you're dispatching your thunk action okay, but you aren't then actually dispatching an action within the thunk action.
Read more >
Attributes in Clang — Clang 16.0.0git documentation
When calling the API, Swift will always pass a valid address initialized to a null pointer. swift_error(none) means that the function should not...
Read more >
JAXB Users Guide - Java EE
This document explains various interesting/complex/tricky aspects of JAXB, based on questions posted on the JAXB users forum and answers I provided.
Read more >
D-Bus Specification - Freedesktop.org
method call messages with no INTERFACE may be considered an error; ... A single complete type is a basic type code, a variant...
Read more >
Effective Dart: Design - Dart programming language
In an imperative language like Dart, members are often called mainly for their side effect: they ... However, if there is no initializer,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found