mirror of
https://github.com/simonbrunel/qtpromise.git
synced 2024-11-22 10:40:08 +08:00
963ec621e1
For consistency with other helpers, deprecate `qPromise()` in favor of `QtPromise::resolve()` but also add support for calling this helper with lvalue. Add extra unit tests to make sure that rvalue is not copied.
70 lines
2.4 KiB
JavaScript
70 lines
2.4 KiB
JavaScript
module.exports = {
|
|
title: 'QtPromise',
|
|
description: 'Promises/A+ implementation for Qt/C++',
|
|
ga: 'UA-113899811-1',
|
|
head: [
|
|
['link', { rel: 'icon', href: `/favicon.png` }],
|
|
],
|
|
themeConfig: {
|
|
repo: 'simonbrunel/qtpromise',
|
|
lastUpdated: 'Last Updated',
|
|
editLinks: true,
|
|
docsDir: 'docs',
|
|
algolia: {
|
|
apiKey: '0e6e9cccb8c2c360a5543e28c4e31cb8',
|
|
indexName: 'qtpromise'
|
|
},
|
|
sidebar: [
|
|
'qtpromise/getting-started',
|
|
'qtpromise/qtconcurrent',
|
|
'qtpromise/qtsignals',
|
|
'qtpromise/thread-safety',
|
|
'qtpromise/api-reference',
|
|
{
|
|
title: 'QPromise',
|
|
children: [
|
|
'qtpromise/qpromise/constructor',
|
|
'qtpromise/qpromise/delay',
|
|
'qtpromise/qpromise/each',
|
|
'qtpromise/qpromise/fail',
|
|
'qtpromise/qpromise/filter',
|
|
'qtpromise/qpromise/finally',
|
|
'qtpromise/qpromise/isfulfilled',
|
|
'qtpromise/qpromise/ispending',
|
|
'qtpromise/qpromise/isrejected',
|
|
'qtpromise/qpromise/map',
|
|
'qtpromise/qpromise/tap',
|
|
'qtpromise/qpromise/tapfail',
|
|
'qtpromise/qpromise/then',
|
|
'qtpromise/qpromise/timeout',
|
|
'qtpromise/qpromise/wait',
|
|
'qtpromise/qpromise/all.md',
|
|
'qtpromise/qpromise/reject.md',
|
|
'qtpromise/qpromise/resolve.md'
|
|
]
|
|
},
|
|
{
|
|
title: 'Helpers',
|
|
children: [
|
|
'qtpromise/helpers/attempt',
|
|
'qtpromise/helpers/connect',
|
|
'qtpromise/helpers/each',
|
|
'qtpromise/helpers/filter',
|
|
'qtpromise/helpers/map',
|
|
'qtpromise/helpers/resolve',
|
|
'qtpromise/helpers/qpromiseall'
|
|
]
|
|
},
|
|
{
|
|
title: 'Exceptions',
|
|
children: [
|
|
'qtpromise/exceptions/canceled',
|
|
'qtpromise/exceptions/context',
|
|
'qtpromise/exceptions/timeout',
|
|
'qtpromise/exceptions/undefined'
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|