# Documentation or Guide on taskDecisionProvider for editor-core?

**URL:** <https://community.developer.atlassian.com/t/documentation-or-guide-on-taskdecisionprovider-for-editor-core/49147>\
**Category:** Confluence Cloud\
**Tags:** editor, atlaskit\
**Created:** [June 22, 2021, 7:19am UTC](https://community.developer.atlassian.com/t/documentation-or-guide-on-taskdecisionprovider-for-editor-core/49147 "2021-06-22T07:19:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![yongchong.long](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/yongchong.long/32/48711_2.png) [@yongchong.long](https://community.developer.atlassian.com/u/yongchong.long)\
**Post date:** [June 22, 2021, 7:19am UTC](https://community.developer.atlassian.com/t/documentation-or-guide-on-taskdecisionprovider-for-editor-core/49147/1 "2021-06-22T07:19:09Z")

</div>

Hi, is there a documentation or guide on TaskDecisionProvider for [editor-core](https://atlaskit.atlassian.com/packages/editor/editor-core), any pointer on the `unsubscribeRecentUpdates`, `notifyRecentUpdates`, `toggleTask`, `subscribe`, and`unsubscribe` functions work would be great. They look like lifecycle hooks but I’m not entirely sure how they work. I understand that the `@atlaskit/editor-core` component is now marked for Atlassian internal development but we already have features built on top on it before so I’ll appreciate any help I could get.

---

<div class="post-metadata">

**Author:** ![dmorrow](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/dmorrow/32/35895_2.png) [@dmorrow](https://community.developer.atlassian.com/u/dmorrow)\
**Post date:** [June 23, 2021, 6:51am UTC](https://community.developer.atlassian.com/t/documentation-or-guide-on-taskdecisionprovider-for-editor-core/49147/2 "2021-06-23T06:51:06Z")

</div>

Hi @yongchong.long ,

I don’t think there’s any publicly available documentation. Also note the warning on the editor component:

 ![note](https://global.discourse-cdn.com/atlassiandeveloper/original/3X/9/a/9ab43aff8d487c35be9b6073cf9d0b34578c5220.png)

I suspect this warning also extends to less thorough documentation, but I’ll follow up with the team just in case they can provide something.

Regards,  
Dugald

---

<div class="post-metadata">

**Author:** ![yongchong.long](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/yongchong.long/32/48711_2.png) [@yongchong.long](https://community.developer.atlassian.com/u/yongchong.long)\
**Post date:** [June 23, 2021, 10:55am UTC](https://community.developer.atlassian.com/t/documentation-or-guide-on-taskdecisionprovider-for-editor-core/49147/4 "2021-06-23T10:55:49Z")

</div>

Yup I’m aware of the warning. Thanks for the follow-up, it’ll be great to have any sort of pointer on how it works.

---

<div class="post-metadata">

**Author:** ![dmorrow](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/dmorrow/32/35895_2.png) [@dmorrow](https://community.developer.atlassian.com/u/dmorrow)\
**Post date:** [July 14, 2021, 6:17am UTC](https://community.developer.atlassian.com/t/documentation-or-guide-on-taskdecisionprovider-for-editor-core/49147/5 "2021-07-14T06:17:34Z")

</div>

Hi @yongchong.long ,

I think the most relevant documentation is as follows:

- [https://atlaskit.atlassian.com/packages/editor/editor-core](https://atlaskit.atlassian.com/packages/editor/editor-core)
- [https://atlaskit.atlassian.com/packages/elements/task-decision](https://atlaskit.atlassian.com/packages/elements/task-decision)

Regards,  
Dugald

---

<div class="post-metadata">

**Author:** ![yongchong.long](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/yongchong.long/32/48711_2.png) [@yongchong.long](https://community.developer.atlassian.com/u/yongchong.long)\
**Post date:** [July 15, 2021, 9:11am UTC](https://community.developer.atlassian.com/t/documentation-or-guide-on-taskdecisionprovider-for-editor-core/49147/6 "2021-07-15T09:11:01Z")

</div>

Hi @dmorrow,

[https://atlaskit.atlassian.com/packages/editor/editor-core](https://atlaskit.atlassian.com/packages/editor/editor-core) is what I mentioned in my question, which itself points to [https://atlaskit.atlassian.com/packages/elements/task-decision](https://atlaskit.atlassian.com/packages/elements/task-decision) that documents the component itself, not `TaskDecisionProvider`. The closest thing I can find is `getMockTaskDecisionResource` in the example, imported from `@atlaskit/util-data-test`.
